com.ibm.ram.policy
Class PendingTimerPolicy
java.lang.Object
com.ibm.ram.policy.Policy
com.ibm.ram.policy.AssetPolicy
com.ibm.ram.policy.PendingTimerPolicy
public abstract class PendingTimerPolicy
- extends AssetPolicy
Subclasses of this policy can run on a given interval specified in the policy configuration.
- Since:
- 7.5.1
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PendingTimerPolicy
public PendingTimerPolicy()
test
public final Result test()
- Description copied from class:
Policy
- Run the policy's compliance test
Note: This will be called with the Extension point's classloader as the thread context class loader.
- Specified by:
test in class Policy
- Returns:
- The
Result of the compliance test
doTest
public abstract Result doTest()
- Subclasses should implement doTest instead of test method. If pending interval is specified via configuration,
policy will be marked pending and will be scheduled to run at the specified interval.
The
- Returns:
- Since:
- 7.5.1
getConfigurationDetails
public final ConfigurationDetails[] getConfigurationDetails()
- Description copied from class:
Policy
- Get the custom fields of the policy
- Overrides:
getConfigurationDetails in class Policy
- Returns:
- The custom information this policy will use at runtime.
getConfigurationDetails
public final ConfigurationDetails[] getConfigurationDetails(java.util.Locale locale)
- Description copied from class:
Policy
- Get the custom fields of the policy
- Overrides:
getConfigurationDetails in class Policy
- Parameters:
locale - The Locale of the user making the request.
- Returns:
- The custom information this policy will use at runtime.
doGetConfigurationDetails
public abstract ConfigurationDetails[] doGetConfigurationDetails(java.util.Locale locale)
- Subclasses should implement doGetConfigurationDetails(Locale locale) instead of getConfigurationDetails(Locale locale)
- Parameters:
locale -
- Returns:
- Since:
- 7.5.1