[New] Added StrolchModelConstants.PolicyConstants.TYPE_USE
This commit is contained in:
parent
5f540559ed
commit
a59a133cca
|
@ -159,7 +159,7 @@ public class DefaultPolicyHandler extends StrolchComponent implements PolicyHand
|
||||||
}
|
}
|
||||||
|
|
||||||
private void reloadPolicies(ComponentConfiguration configuration) {
|
private void reloadPolicies(ComponentConfiguration configuration) {
|
||||||
if (configuration.getBoolean(PROP_READ_POLICY_FILE, Boolean.FALSE)) {
|
if (configuration.getBoolean(PROP_READ_POLICY_FILE, Boolean.TRUE)) {
|
||||||
File policyFile = configuration.getConfigFile(PROP_POLICY_CONFIG, DEF_STROLCH_POLICIES_XML,
|
File policyFile = configuration.getConfigFile(PROP_POLICY_CONFIG, DEF_STROLCH_POLICIES_XML,
|
||||||
configuration.getRuntimeConfiguration());
|
configuration.getRuntimeConfiguration());
|
||||||
parsePolicyFile(policyFile);
|
parsePolicyFile(policyFile);
|
||||||
|
|
|
@ -94,6 +94,7 @@ public class StrolchModelConstants {
|
||||||
public static final String TYPE_CONSUME = "Consume";
|
public static final String TYPE_CONSUME = "Consume";
|
||||||
public static final String TYPE_RESERVE = "Reserve";
|
public static final String TYPE_RESERVE = "Reserve";
|
||||||
public static final String TYPE_RELEASE = "Release";
|
public static final String TYPE_RELEASE = "Release";
|
||||||
|
public static final String TYPE_USE = "Use";
|
||||||
public static final String TYPE_WAIT = "Wait";
|
public static final String TYPE_WAIT = "Wait";
|
||||||
|
|
||||||
public static final String BAG_OBJECTIVES = "Objectives";
|
public static final String BAG_OBJECTIVES = "Objectives";
|
||||||
|
|
Loading…
Reference in New Issue