Enum Class EHookType

java.lang.Object
java.lang.Enum<EHookType>
com.idmedia.translationstudio.api.hook.EHookType
All Implemented Interfaces:
Serializable, Comparable<EHookType>, Constable

public enum EHookType extends Enum<EHookType>
Hook Types
Author:
I-D Media AG
  • Enum Constant Details

    • EMPTY

      public static final EHookType EMPTY
      Empty fallback
    • FSEXPORT_PAGE

      public static final EHookType FSEXPORT_PAGE
      Hook before processing exported PAGE xml file to create a translatable xml structure
    • FSEXPORT_ENTITY

      public static final EHookType FSEXPORT_ENTITY
      Hook before processing exported ENTITY xml file to create a translatable xml structure
    • FSIMPORT

      public static final EHookType FSIMPORT
      Hook after translated XML has been imported into FirstSpirit
    • FSIMPORBEFORE

      public static final EHookType FSIMPORBEFORE
      Hook before a translated XML file will be merged with FirstSpirit's data. Allows to update the translated xml file itself.
    • TMSIMPORT

      public static final EHookType TMSIMPORT
      Hook before translatable XML files will be uploaded into a TMS. Provides ITranslatableFile
    • TMSEXPORT

      public static final EHookType TMSEXPORT
      Hook after translated XML has been downloaded from a TMS Processes the translated XML String being downloaded
    • JOBCREATION

      public static final EHookType JOBCREATION
      Hook after a new translatable job has been created. Processes IJobMetaData
    • AFTER_TMS_IMPORT

      public static final EHookType AFTER_TMS_IMPORT
  • Method Details

    • values

      public static EHookType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static EHookType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null