@author nano
| 7 | * @author nano |
| 8 | */ |
| 9 | public class Commands { |
| 10 | public final String sessionsTitle = ("上线主机【Active sessions】\n===============\n"); |
| 11 | |
| 12 | private static String type = ""; |
| 13 | |
| 14 | public static Object OSSClient; |
| 15 | |
| 16 | public static ArrayList<LinkedList> sessionsList = new ArrayList<>(); |
| 17 | |
| 18 | public static String endpoint = ""; |
| 19 | |
| 20 | public static String bucketname = ""; |
| 21 | |
| 22 | public static String path = ""; |
| 23 | |
| 24 | public static String accessKeyId = ""; |
| 25 | |
| 26 | public static String accessKeySecret = ""; |
| 27 | |
| 28 | public static String token = " "; |
| 29 | |
| 30 | public static boolean commandstate = true; |
| 31 | |
| 32 | public String getSessionsTitle() { |
| 33 | return sessionsTitle; |
| 34 | } |
| 35 | |
| 36 | public static String getType() { |
| 37 | return type; |
| 38 | } |
| 39 | |
| 40 | public static void setType(String type) { |
| 41 | Commands.type = type; |
| 42 | } |
| 43 | |
| 44 | public static Object getOSSClient() { |
| 45 | return OSSClient; |
| 46 | } |
| 47 | |
| 48 | public static void setOSSClient(Object OSSClient) { |
| 49 | Commands.OSSClient = OSSClient; |
| 50 | } |
| 51 | |
| 52 | public static ArrayList<LinkedList> getSessionsList() { |
| 53 | return sessionsList; |
| 54 | } |
| 55 | |
| 56 | public static void setSessionsList(ArrayList<LinkedList> sessionsList) { |
| 57 | Commands.sessionsList = sessionsList; |
| 58 | } |
| 59 | |
| 60 | public static String getEndpoint() { |
| 61 | return endpoint; |
| 62 | } |
| 63 | |
| 64 | public static void setEndpoint(String endpoint) { |
| 65 | Commands.endpoint = endpoint; |
| 66 | } |
nothing calls this directly
no outgoing calls
no test coverage detected