Package de.xima.fc.update.workflow
Enum EFcCompressAsZipUpdates
- java.lang.Object
-
- java.lang.Enum<EFcCompressAsZipUpdates>
-
- de.xima.fc.update.workflow.EFcCompressAsZipUpdates
-
- All Implemented Interfaces:
IUpdateTransition
,IBuiltinWorkflowUpdate
,Serializable
,Comparable<EFcCompressAsZipUpdates>
public enum EFcCompressAsZipUpdates extends Enum<EFcCompressAsZipUpdates> implements IBuiltinWorkflowUpdate
Enumeration with the updates for the properties of the compress as ZIP action.- Since:
- 7.0.5
- Author:
- XIMA MEDIA GmbH
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD_NAMING_SCHEME_7_0_5
formcycle version 7.0.5 adds a new naming scheme property.UPDATE_820_SEPARATE_FILE_PROVISION
Version 8.2.0 adds a new model classFileProvision
to store the configuration how created files should be handled.
-
Field Summary
Fields Modifier and Type Field Description static com.google.common.collect.ImmutableMap<com.vdurmont.semver4j.Semver,IUpdateTransition>
TRANSITIONS
Immutable map of all transitions contained in this enumeration.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.vdurmont.semver4j.Semver
getSemver()
static EFcCompressAsZipUpdates
valueOf(String name)
Returns the enum constant of this type with the specified name.static EFcCompressAsZipUpdates[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface de.xima.fc.update.interfaces.IBuiltinWorkflowUpdate
renameField
-
Methods inherited from interface de.xima.fc.interfaces.workflow.mixin.IUpdateTransition
downgrade, upgrade
-
-
-
-
Enum Constant Detail
-
ADD_NAMING_SCHEME_7_0_5
public static final EFcCompressAsZipUpdates ADD_NAMING_SCHEME_7_0_5
formcycle version 7.0.5 adds a new naming scheme property. The default for workflow actions created prior to 7.0.5 isECompressAsZipNamingScheme.NESTED_WITH_TECHNICAL_SOURCE
whereas for newly created actions the default must beECompressAsZipNamingScheme.FLAT_FILE_NAME_ONLY
. Thus we need to add the old default for old actions.
-
UPDATE_820_SEPARATE_FILE_PROVISION
public static final EFcCompressAsZipUpdates UPDATE_820_SEPARATE_FILE_PROVISION
Version 8.2.0 adds a new model classFileProvision
to store the configuration how created files should be handled. Previously it was stored on the model instance itself, which makes it hard to add new properties, especially for plugins. This update moves the properties from the model class to the nested object.
-
-
Field Detail
-
TRANSITIONS
public static final com.google.common.collect.ImmutableMap<com.vdurmont.semver4j.Semver,IUpdateTransition> TRANSITIONS
Immutable map of all transitions contained in this enumeration.
-
-
Method Detail
-
values
public static EFcCompressAsZipUpdates[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EFcCompressAsZipUpdates c : EFcCompressAsZipUpdates.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EFcCompressAsZipUpdates valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
getSemver
public com.vdurmont.semver4j.Semver getSemver()
- Specified by:
getSemver
in interfaceIBuiltinWorkflowUpdate
-
-