static {
NLS.initializeMessages(LaunchMessages.class.getName(), LaunchMessages.class);
}
+
public static String FAIL;
public static String SUCCESS;
public static String INSTALL_PACKAGE;
public static String UNINSTALL_PACKAGE;
public static String TRANSFER_PACKAGE;
+ public static String RUN_PACKAGE;
+
+ public static String LAUNCH_START;
+ public static String LAUNCH_END;
public static String getFailMessage(String s) {
return String.format("%s > %s", s, FAIL);
public static String getSuccessMessage(String s) {
return String.format("%s > %s", s, SUCCESS);
}
+
+ public static String getTimeInterval(Long start, Long end) {
+ Double interval = ((end - start) / (double) 1000);
+ return Double.toString(interval);
+ }
+
+ public static String getElapsedTimeMessage(Long start, Long end) {
+ return "(" + getTimeInterval(start, end) + " sec)";
+ }
+
+ public static String getStepMessage(String step) {
+ return "[" + step + "]";
+ }
}
static {
NLS.initializeMessages(RdsMessages.class.getName(), RdsMessages.class);
}
-
+
public static String RDS_PUSH_LOG;
public static String RDS_PUSH_ERROR;
public static String RDS_DELETE_ERROR;
public static String CANNOT_FIND_RDS_INFO;
public static String CANNOT_FIND_DELTA;
public static String CANNOT_PARTIALLY_INSTALL;
- public static String RDS_MODE_DISABLE;
- public static String RDS_MODE_ENABLE;
+ public static String RDS_MODE_DISABLED;
+ public static String RDS_MODE_ENABLED;
public static String RDS_MODE_CONSOLE_TITLE;
public static String RDS_MODE_PREFIX;
-
}
CANNOT_FIND_RDS_INFO=Cannot find information of the latest launch.
CANNOT_FIND_DELTA=Cannot find information of delta.
CANNOT_PARTIALLY_INSTALL=Cannot partially upload or reinstall.
-RDS_MODE_DISABLE=RDS mode is disabled.
-RDS_MODE_ENABLE=RDS mode is enabled.
+RDS_MODE_DISABLED=RDS mode is disabled.
+RDS_MODE_ENABLED=RDS mode is enabled.
RDS_MODE_CONSOLE_TITLE=, RDS Mode
-RDS_MODE_PREFIX=[RDS]
\ No newline at end of file
+RDS_MODE_PREFIX=[RDS]