Package org.ametys.plugins.odfsync.utils
Enum Class ContentWorkflowDescription
java.lang.Object
java.lang.Enum<ContentWorkflowDescription>
org.ametys.plugins.odfsync.utils.ContentWorkflowDescription
- All Implemented Interfaces:
Serializable
,Comparable<ContentWorkflowDescription>
,java.lang.constant.Constable
Object to describe content workflow elements.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionContainer workflow descriptionCourse workflow descriptionCourse list workflow descriptionCourse part workflow descriptionOrgunit workflow descriptionPerson workflow descriptionProgram workflow descriptionSubprogram workflow description -
Method Summary
Modifier and TypeMethodDescriptionGet the content type.int
Get the initial action ID.int
Get the validation action ID.Get the workflow name.static ContentWorkflowDescription
Returns the enum constant of this class with the specified name.static ContentWorkflowDescription[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PROGRAM_WF_DESCRIPTION
Program workflow description -
SUBPROGRAM_WF_DESCRIPTION
Subprogram workflow description -
CONTAINER_WF_DESCRIPTION
Container workflow description -
COURSELIST_WF_DESCRIPTION
Course list workflow description -
COURSE_WF_DESCRIPTION
Course workflow description -
COURSEPART_WF_DESCRIPTION
Course part workflow description -
ORGUNIT_WF_DESCRIPTION
Orgunit workflow description -
PERSON_WF_DESCRIPTION
Person workflow description
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getContentType
Get the content type.- Returns:
- the content type ID
-
getWorkflowName
Get the workflow name.- Returns:
- the workflow name
-
getInitialActionId
Get the initial action ID.- Returns:
- the initial action ID
-
getValidationActionId
Get the validation action ID.- Returns:
- the validation action ID
-