Package de.xima.fc.update.workflow
Enum EFcHttpRequestPropsUpdate
- java.lang.Object
-
- java.lang.Enum<EFcHttpRequestPropsUpdate>
-
- de.xima.fc.update.workflow.EFcHttpRequestPropsUpdate
-
- All Implemented Interfaces:
ISemVerProviding,IUpdateTransition,Serializable,Comparable<EFcHttpRequestPropsUpdate>
public enum EFcHttpRequestPropsUpdate extends Enum<EFcHttpRequestPropsUpdate> implements IUpdateTransition, ISemVerProviding
Updates for theFcHttpRequestPropsmodel class.- Since:
- 7.0.1
- Author:
- XIMA MEDIA GmbH
-
-
Enum Constant Summary
Enum Constants Enum Constant Description UPDATE_701_ADD_HTTP_VERBVersion 7.0.1 adds a new propertyhttpVerb.UPDATE_720_HTTP_BODY_TYPESVersion 7.2.0 adds a new propertyhttpBodyTypewhich replacesdisallowMessageBodyandforceMultipart.UPDATE_740_LOCATION_RESOLUTION_TYPEVersion 7.4.0 adds a new propertylocationResolutionTypeand defaults it to RESOLVE_AGAINST_REQUEST_URL.UPDATE_810_ALLOW_INVALID_CERTIFICATESVersion 8.1.0 add a new propertyallowInvalidCertificates.UPDATE_810_READ_AND_CONNECT_TIMEOUTVersion 8.1.0 add two new propertiesreadTimeoutandconnectTimeout.UPDATE_820_SEPARATE_FILE_PROVISIONVersion 8.2.0 adds a new model classFileProvisionto 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>TRANSITIONSAll 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.SemvergetSemVer()static EFcHttpRequestPropsUpdatevalueOf(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 propertyhttpBodyTypewhich replacesdisallowMessageBodyandforceMultipart. This update sets the appropriate value based on the old properties.
-
UPDATE_740_LOCATION_RESOLUTION_TYPE
public static final EFcHttpRequestPropsUpdate UPDATE_740_LOCATION_RESOLUTION_TYPE
Version 7.4.0 adds a new propertylocationResolutionTypeand defaults it to RESOLVE_AGAINST_REQUEST_URL. This update sets the default to DO_NOT_RESOLVE for old workflow configurations.
-
UPDATE_810_READ_AND_CONNECT_TIMEOUT
public static final EFcHttpRequestPropsUpdate UPDATE_810_READ_AND_CONNECT_TIMEOUT
Version 8.1.0 add two new propertiesreadTimeoutandconnectTimeout. This update adds the default values for these properties when not yet present.
-
UPDATE_810_ALLOW_INVALID_CERTIFICATES
public static final EFcHttpRequestPropsUpdate UPDATE_810_ALLOW_INVALID_CERTIFICATES
Version 8.1.0 add a new propertyallowInvalidCertificates. This update adds the default value for this property when not yet present.
-
UPDATE_820_SEPARATE_FILE_PROVISION
public static final EFcHttpRequestPropsUpdate UPDATE_820_SEPARATE_FILE_PROVISION
Version 8.2.0 adds a new model classFileProvisionto 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
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:
getSemVerin interfaceISemVerProviding
-
-