package com.kaltura.client.enums; /** * This class was generated using generate.php * against an XML schema provided by Kaltura. * @date Sun, 19 Jun 11 02:46:50 -0400 * * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN. */ public enum KalturaBatchJobType { CONVERT ("0"), IMPORT ("1"), DELETE ("2"), FLATTEN ("3"), BULKUPLOAD ("4"), DVDCREATOR ("5"), DOWNLOAD ("6"), OOCONVERT ("7"), CONVERT_PROFILE ("10"), POSTCONVERT ("11"), PULL ("12"), REMOTE_CONVERT ("13"), EXTRACT_MEDIA ("14"), MAIL ("15"), NOTIFICATION ("16"), CLEANUP ("17"), SCHEDULER_HELPER ("18"), BULKDOWNLOAD ("19"), DB_CLEANUP ("20"), PROVISION_PROVIDE ("21"), CONVERT_COLLECTION ("22"), STORAGE_EXPORT ("23"), PROVISION_DELETE ("24"), STORAGE_DELETE ("25"), EMAIL_INGESTION ("26"), METADATA_IMPORT ("27"), METADATA_TRANSFORM ("28"), FILESYNC_IMPORT ("29"), CAPTURE_THUMB ("30"), VIRUS_SCAN ("virusScan.VirusScan"), DISTRIBUTION_SUBMIT ("contentDistribution.DistributionSubmit"), DISTRIBUTION_UPDATE ("contentDistribution.DistributionUpdate"), DISTRIBUTION_DELETE ("contentDistribution.DistributionDelete"), DISTRIBUTION_FETCH_REPORT ("contentDistribution.DistributionFetchReport"), DISTRIBUTION_ENABLE ("contentDistribution.DistributionEnable"), DISTRIBUTION_DISABLE ("contentDistribution.DistributionDisable"), DISTRIBUTION_SYNC ("contentDistribution.DistributionSync"); String hashCode; KalturaBatchJobType(String hashCode) { this.hashCode = hashCode; } public String getHashCode() { return this.hashCode; } public static KalturaBatchJobType get(String hashCode) { if (hashCode.equals("0")) { return CONVERT; } else if (hashCode.equals("1")) { return IMPORT; } else if (hashCode.equals("2")) { return DELETE; } else if (hashCode.equals("3")) { return FLATTEN; } else if (hashCode.equals("4")) { return BULKUPLOAD; } else if (hashCode.equals("5")) { return DVDCREATOR; } else if (hashCode.equals("6")) { return DOWNLOAD; } else if (hashCode.equals("7")) { return OOCONVERT; } else if (hashCode.equals("10")) { return CONVERT_PROFILE; } else if (hashCode.equals("11")) { return POSTCONVERT; } else if (hashCode.equals("12")) { return PULL; } else if (hashCode.equals("13")) { return REMOTE_CONVERT; } else if (hashCode.equals("14")) { return EXTRACT_MEDIA; } else if (hashCode.equals("15")) { return MAIL; } else if (hashCode.equals("16")) { return NOTIFICATION; } else if (hashCode.equals("17")) { return CLEANUP; } else if (hashCode.equals("18")) { return SCHEDULER_HELPER; } else if (hashCode.equals("19")) { return BULKDOWNLOAD; } else if (hashCode.equals("20")) { return DB_CLEANUP; } else if (hashCode.equals("21")) { return PROVISION_PROVIDE; } else if (hashCode.equals("22")) { return CONVERT_COLLECTION; } else if (hashCode.equals("23")) { return STORAGE_EXPORT; } else if (hashCode.equals("24")) { return PROVISION_DELETE; } else if (hashCode.equals("25")) { return STORAGE_DELETE; } else if (hashCode.equals("26")) { return EMAIL_INGESTION; } else if (hashCode.equals("27")) { return METADATA_IMPORT; } else if (hashCode.equals("28")) { return METADATA_TRANSFORM; } else if (hashCode.equals("29")) { return FILESYNC_IMPORT; } else if (hashCode.equals("30")) { return CAPTURE_THUMB; } else if (hashCode.equals("virusScan.VirusScan")) { return VIRUS_SCAN; } else if (hashCode.equals("contentDistribution.DistributionSubmit")) { return DISTRIBUTION_SUBMIT; } else if (hashCode.equals("contentDistribution.DistributionUpdate")) { return DISTRIBUTION_UPDATE; } else if (hashCode.equals("contentDistribution.DistributionDelete")) { return DISTRIBUTION_DELETE; } else if (hashCode.equals("contentDistribution.DistributionFetchReport")) { return DISTRIBUTION_FETCH_REPORT; } else if (hashCode.equals("contentDistribution.DistributionEnable")) { return DISTRIBUTION_ENABLE; } else if (hashCode.equals("contentDistribution.DistributionDisable")) { return DISTRIBUTION_DISABLE; } else if (hashCode.equals("contentDistribution.DistributionSync")) { return DISTRIBUTION_SYNC; } else { return CONVERT; } } }