Class RAConfigurationProfile
- java.lang.Object
-
- com.opencloud.slee.resources.correlation.profile.RAConfigurationProfile
-
- All Implemented Interfaces:
RAConfigurationProfileCMP
,Profile
public abstract class RAConfigurationProfile extends Object implements Profile, RAConfigurationProfileCMP
Profile with the configuration data of the Sentinel Correlation resource adaptor.
-
-
Constructor Summary
Constructors Constructor Description RAConfigurationProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkValidNonZeroPositiveNumField(String name, int content, List<String> errors)
Check that an int number is greater than 0void
checkValidPositiveNumField(String name, long content, List<String> errors)
Check that a long number is greater than, or equal to 0void
profileActivate()
void
profileInitialize()
void
profileLoad()
void
profilePassivate()
void
profilePostCreate()
void
profileRemove()
void
profileStore()
void
profileVerify()
void
setProfileContext(ProfileContext context)
void
unsetProfileContext()
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.opencloud.slee.resources.correlation.profile.RAConfigurationProfileCMP
getCorrelationIDExpiryTimerPeriod, getNumberOfThreadPool, getStateDistributionTimeout, setCorrelationIDExpiryTimerPeriod, setNumberOfThreadPool, setStateDistributionTimeout
-
-
-
-
Method Detail
-
profileInitialize
public void profileInitialize()
- Specified by:
profileInitialize
in interfaceProfile
-
profileVerify
public void profileVerify() throws ProfileVerificationException
- Specified by:
profileVerify
in interfaceProfile
- Throws:
ProfileVerificationException
-
checkValidPositiveNumField
public void checkValidPositiveNumField(String name, long content, List<String> errors)
Check that a long number is greater than, or equal to 0- Parameters:
name
- The field namecontent
- the number to checkerrors
- A list of error messages to which this method might add an entry if the check turns out negative.
-
checkValidNonZeroPositiveNumField
public final void checkValidNonZeroPositiveNumField(String name, int content, List<String> errors)
Check that an int number is greater than 0- Parameters:
name
- The field namecontent
- the number to checkerrors
- A list of error messages to which this method might add an entry if the check turns out negative.
-
profilePostCreate
public void profilePostCreate()
- Specified by:
profilePostCreate
in interfaceProfile
-
setProfileContext
public void setProfileContext(ProfileContext context)
- Specified by:
setProfileContext
in interfaceProfile
-
profileStore
public void profileStore()
- Specified by:
profileStore
in interfaceProfile
-
profileActivate
public void profileActivate()
- Specified by:
profileActivate
in interfaceProfile
-
unsetProfileContext
public void unsetProfileContext()
- Specified by:
unsetProfileContext
in interfaceProfile
-
profileLoad
public void profileLoad()
- Specified by:
profileLoad
in interfaceProfile
-
profileRemove
public void profileRemove()
- Specified by:
profileRemove
in interfaceProfile
-
profilePassivate
public void profilePassivate()
- Specified by:
profilePassivate
in interfaceProfile
-
-