@Test public void login() { }
public static boolean login(Machine machine) throws Exception { Connection connection = null; try { connection = SSH2Util.getConnection(machine); } finally { if (connection != null) { connection.close(); } } return true; }
LinuxInfoUtil { public static boolean login(Machine machine) throws Exception { Connection connection = null; try { connection = SSH2Util.getConnection(machine); } finally { if (connection != null) { connection.close(); } } return true; } }
LinuxInfoUtil { public static boolean login(Machine machine) throws Exception { Connection connection = null; try { connection = SSH2Util.getConnection(machine); } finally { if (connection != null) { connection.close(); } } return true; } private  LinuxInfoUtil(); }
LinuxInfoUtil { public static boolean login(Machine machine) throws Exception { Connection connection = null; try { connection = SSH2Util.getConnection(machine); } finally { if (connection != null) { connection.close(); } } return true; } private  LinuxInfoUtil(); static String getIp(); static boolean login(Machine machine); static Map<String, String> getLinuxInfo(Machine machine); }
LinuxInfoUtil { public static boolean login(Machine machine) throws Exception { Connection connection = null; try { connection = SSH2Util.getConnection(machine); } finally { if (connection != null) { connection.close(); } } return true; } private  LinuxInfoUtil(); static String getIp(); static boolean login(Machine machine); static Map<String, String> getLinuxInfo(Machine machine); static final String MEMORY_FREE; static final String VERSION; }