Class AuditLogFileNameTask
- java.lang.Object
-
- com.sun.identity.install.tools.configurator.AuditLogFileNameTask
-
- All Implemented Interfaces:
ITask
public class AuditLogFileNameTask extends Object implements ITask
This task creates a unique name for the audit log file to be used by the product instance being configured. The inputs to this task are the following:PRODUCT_HOSTNAME_LOOKUP_KEY: Key for product hostPRODUCT_PORT_LOOKUP_KEY: Key for product portPRODUCT_LOGFILE_NAME_OUTPUT_KEY: Key for storing the generated file name.
-
-
Field Summary
Fields Modifier and Type Field Description static StringLOC_TSK_ERR_AUDIT_LOGFILENAMEstatic StringLOC_TSK_MSG_AUDIT_LOGFILE_EXECUTEstatic StringLOC_TSK_MSG_AUDIT_LOGFILE_ROLLBACKstatic StringSTR_AUDIT_FILENAME_PREFIXstatic StringSTR_AUDIT_FILENAME_SUFFIXstatic StringSTR_PRODUCT_HOSTNAME_LOOKUP_KEYstatic StringSTR_PRODUCT_LOGFILE_NAME_OUTPUT_KEYstatic StringSTR_PRODUCT_PORT_LOOKUP_KEY
-
Constructor Summary
Constructors Constructor Description AuditLogFileNameTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexecute(String name, IStateAccess stateAccess, Map properties)LocalizedMessagegetExecutionMessage(IStateAccess stateAccess, Map properties)LocalizedMessagegetRollBackMessage(IStateAccess stateAccess, Map properties)booleanrollBack(String name, IStateAccess state, Map properties)
-
-
-
Field Detail
-
STR_PRODUCT_HOSTNAME_LOOKUP_KEY
public static final String STR_PRODUCT_HOSTNAME_LOOKUP_KEY
- See Also:
- Constant Field Values
-
STR_PRODUCT_PORT_LOOKUP_KEY
public static final String STR_PRODUCT_PORT_LOOKUP_KEY
- See Also:
- Constant Field Values
-
STR_PRODUCT_LOGFILE_NAME_OUTPUT_KEY
public static final String STR_PRODUCT_LOGFILE_NAME_OUTPUT_KEY
- See Also:
- Constant Field Values
-
STR_AUDIT_FILENAME_PREFIX
public static final String STR_AUDIT_FILENAME_PREFIX
-
STR_AUDIT_FILENAME_SUFFIX
public static final String STR_AUDIT_FILENAME_SUFFIX
- See Also:
- Constant Field Values
-
LOC_TSK_ERR_AUDIT_LOGFILENAME
public static final String LOC_TSK_ERR_AUDIT_LOGFILENAME
- See Also:
- Constant Field Values
-
LOC_TSK_MSG_AUDIT_LOGFILE_EXECUTE
public static final String LOC_TSK_MSG_AUDIT_LOGFILE_EXECUTE
- See Also:
- Constant Field Values
-
LOC_TSK_MSG_AUDIT_LOGFILE_ROLLBACK
public static final String LOC_TSK_MSG_AUDIT_LOGFILE_ROLLBACK
- See Also:
- Constant Field Values
-
-
Method Detail
-
execute
public boolean execute(String name, IStateAccess stateAccess, Map properties) throws InstallException
- Specified by:
executein interfaceITask- Throws:
InstallException
-
rollBack
public boolean rollBack(String name, IStateAccess state, Map properties) throws InstallException
- Specified by:
rollBackin interfaceITask- Throws:
InstallException
-
getExecutionMessage
public LocalizedMessage getExecutionMessage(IStateAccess stateAccess, Map properties)
- Specified by:
getExecutionMessagein interfaceITask
-
getRollBackMessage
public LocalizedMessage getRollBackMessage(IStateAccess stateAccess, Map properties)
- Specified by:
getRollBackMessagein interfaceITask
-
-