Package de.xima.fc.workflow.update.node
Enum EFcHttpRequestPropsUpdate
- java.lang.Object
-
- java.lang.Enum<EFcHttpRequestPropsUpdate>
-
- de.xima.fc.workflow.update.node.EFcHttpRequestPropsUpdate
-
- All Implemented Interfaces:
ISemVerProviding
,IUpdateTransition
,Serializable
,Comparable<EFcHttpRequestPropsUpdate>
public enum EFcHttpRequestPropsUpdate extends Enum<EFcHttpRequestPropsUpdate> implements IUpdateTransition, ISemVerProviding
Updates for theFcHttpRequestProps
model class.- Since:
- 7.0.1
- Author:
- XIMA MEDIA GmbH
-
-
Enum Constant Summary
Enum Constants Enum Constant Description UPDATE_701_ADD_HTTP_VERB
Version 7.0.1 adds a new propertyhttpVerb
.UPDATE_720_HTTP_BODY_TYPES
Version 7.2.0 adds a new propertyhttpBodyType
which replacesdisallowMessageBody
andforceMultipart
.
-
Field Summary
Fields Modifier and Type Field Description static com.google.common.collect.ImmutableMap<com.vdurmont.semver4j.Semver,IUpdateTransition>
TRANSITIONS
All update transitions from this enumeration for the model class.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.vdurmont.semver4j.Semver
getSemVer()
static EFcHttpRequestPropsUpdate
valueOf(String name)
Returns the enum constant of this type with the specified name.static EFcHttpRequestPropsUpdate[]
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.interfaces.workflow.mixin.IUpdateTransition
downgrade, upgrade
-
-
-
-
Enum Constant Detail
-
UPDATE_701_ADD_HTTP_VERB
public static final EFcHttpRequestPropsUpdate UPDATE_701_ADD_HTTP_VERB
Version 7.0.1 adds a new propertyhttpVerb
. This update adds the property with its default value when not yet present.
-
UPDATE_720_HTTP_BODY_TYPES
public static final EFcHttpRequestPropsUpdate UPDATE_720_HTTP_BODY_TYPES
Version 7.2.0 adds a new propertyhttpBodyType
which replacesdisallowMessageBody
andforceMultipart
. This update sets the appropriate value based on the old properties.
-
-
Field Detail
-
TRANSITIONS
public static final com.google.common.collect.ImmutableMap<com.vdurmont.semver4j.Semver,IUpdateTransition> TRANSITIONS
All update transitions from this enumeration for the model class.
-
-
Method Detail
-
values
public static EFcHttpRequestPropsUpdate[] 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 (EFcHttpRequestPropsUpdate c : EFcHttpRequestPropsUpdate.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EFcHttpRequestPropsUpdate 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 interfaceISemVerProviding
-
-