package com.nitesh.p4demo; /* * Author : Nitesh Suthar * Application : P4Java Utility Tool. * Profile : https://swarm.workshop.perforce.com/users/sutharNitesh/ */ public class CommonConstants { public static final String STR_LOG_IN = "Login"; public static final String STR_LOG_OUT = "Logout"; public static final String STR_CL_COUNT = "Total Submitted CL"; public static int getValue(String token) { if(token.equals(STR_LOG_IN)) return 0; else if(token.equals(STR_LOG_OUT)) return 1; else if(token.equals(STR_CL_COUNT)) return 2; return -1; } }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 13640 | sutharNitesh |
Updated GUI 1> Added Login Screen 2> Added OnScreen logging 3> Added Button to get Total no. of Submitted CLs 4> Added Exported Jar in ~/P4DemoTool/bin/P4DemoTool.jar Execution Command >java -jar <local path to locate jar>/P4DemoTool.jar |