|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<TranscodingUtils.ReloadPolicy> org.alembik.util.TranscodingUtils.ReloadPolicy
public static enum TranscodingUtils.ReloadPolicy
The possible values for policies used for reloading a source file.
TranscodingUtils.setReloadPolicy(TranscodingJob, org.alembik.util.TranscodingUtils.ReloadPolicy)
Enum Constant Summary | |
---|---|
ALWAYS
Force loading of a source file. |
|
IF_OLDER_THAN
The file in the storage will be reloaded, only if the original source file has changed and more than specified time has elapsed since its last loading. |
|
NEVER
Never reload a source file; if it does not exist and there is no appropriate transcoded file, the exception will be thrown. |
|
ONLY_ONCE
Do not reload a source file in the storage, if it is present. |
Method Summary | |
---|---|
static TranscodingUtils.ReloadPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static TranscodingUtils.ReloadPolicy[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final TranscodingUtils.ReloadPolicy NEVER
public static final TranscodingUtils.ReloadPolicy ONLY_ONCE
public static final TranscodingUtils.ReloadPolicy ALWAYS
public static final TranscodingUtils.ReloadPolicy IF_OLDER_THAN
TranscodingUtils.SOURCE_OLDER_THAN_TIME
Method Detail |
---|
public static final TranscodingUtils.ReloadPolicy[] values()
for(TranscodingUtils.ReloadPolicy c : TranscodingUtils.ReloadPolicy.values()) System.out.println(c);
public static TranscodingUtils.ReloadPolicy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |