use of com.sun.identity.install.tools.util.LocalizedMessage in project OpenAM by OpenRock.
the class CreateLayoutTask method getRollBackMessage.
public LocalizedMessage getRollBackMessage(IStateAccess stateAccess, Map properties) {
Object[] args = { stateAccess.getInstanceName() };
LocalizedMessage message = LocalizedMessage.get(LOC_TSK_MSG_DELETE_LAYOUT_ROLL_BACK, args);
return message;
}
use of com.sun.identity.install.tools.util.LocalizedMessage in project OpenAM by OpenRock.
the class CustomInstallDriver method displayAndLogInstallSummary.
public void displayAndLogInstallSummary(InstallLogger installLog) {
ArrayList messageList = new ArrayList();
messageList.add(getSummaryInfoHeaderMessage());
messageList.add(getSummaryInfoHeaderMessageFmtLine());
messageList.add(getProductInstanceNameMessage());
messageList.add(getProductConfigFilePathMessage());
messageList.add(getAgentConfigFilePathMessage());
messageList.add(getProductAuditLogsPathMessage());
messageList.add(getProductDebugLogsPathMessage());
int count = messageList.size();
printConsoleEmptyLine();
printConsoleEmptyLine();
installLog.getLogger().logEmptyLine();
for (int i = 0; i < count; i++) {
LocalizedMessage message = (LocalizedMessage) messageList.get(i);
printConsoleMessage(message);
installLog.getLogger().log(message);
}
}
use of com.sun.identity.install.tools.util.LocalizedMessage in project OpenAM by OpenRock.
the class CustomInstallDriver method getProductConfigFilePathMessage.
public LocalizedMessage getProductConfigFilePathMessage() {
String productConfigFilePath = (String) getInstallState().getStateAccess().get(STR_CONFIG_FILE_PATH_TAG);
Object[] args = { productConfigFilePath };
LocalizedMessage message = LocalizedMessage.get(LOC_DR_MSG_PRODUCT_CONFIG_FILE_NAME, args);
return message;
}
use of com.sun.identity.install.tools.util.LocalizedMessage in project OpenAM by OpenRock.
the class CustomInstallDriver method getProductInstanceNameMessage.
public LocalizedMessage getProductInstanceNameMessage() {
String instanceName = (String) getInstallState().getStateAccess().getInstanceName();
Object[] args = { instanceName };
LocalizedMessage message = LocalizedMessage.get(LOC_DR_MSG_PRODUCT_INSTANCE_NAME, args);
return message;
}
use of com.sun.identity.install.tools.util.LocalizedMessage in project OpenAM by OpenRock.
the class CustomInstallDriver method getProductDebugLogsPathMessage.
public LocalizedMessage getProductDebugLogsPathMessage() {
String productDebugDirectory = (String) getInstallState().getStateAccess().get(STR_DEBUG_DIR_PREFIX_TAG);
Object[] args = { productDebugDirectory };
LocalizedMessage message = LocalizedMessage.get(LOC_DR_MSG_PRODUCT_DEBUG_DIR, args);
return message;
}
Aggregations