@Test public void testRoleConstruct() throws MalformedURLException { String baseUrl = "https: String roleUrl = "__role/__/role1"; URL url = new URL(baseUrl + roleUrl); Role role = new Role(url); assertNotNull(role); assertEquals(baseUrl, role.getBaseUrl()); }
public String getBaseUrl() { return baseUrl; }
Role { public String getBaseUrl() { return baseUrl; } }
Role { public String getBaseUrl() { return baseUrl; } Role(URL url);  Role(final String name, final String boxName, final String boxSchema, final String baseUrl);  Role(final String name, final String boxName, final String boxSchema);  Role(final String name, final String boxName);  Role(final String name); }
Role { public String getBaseUrl() { return baseUrl; } Role(URL url);  Role(final String name, final String boxName, final String boxSchema, final String baseUrl);  Role(final String name, final String boxName, final String boxSchema);  Role(final String name, final String boxName);  Role(final String name); String schemeCreateUrl(String url); String schemeCreateUrlForTranceCellToken(String url); String localCreateUrl(String url); String createUrl(); String getName(); String getBoxName(); String getBoxSchema(); String getBaseUrl(); }
Role { public String getBaseUrl() { return baseUrl; } Role(URL url);  Role(final String name, final String boxName, final String boxSchema, final String baseUrl);  Role(final String name, final String boxName, final String boxSchema);  Role(final String name, final String boxName);  Role(final String name); String schemeCreateUrl(String url); String schemeCreateUrlForTranceCellToken(String url); String localCreateUrl(String url); String createUrl(); String getName(); String getBoxName(); String getBoxSchema(); String getBaseUrl(); static final String EDM_TYPE_NAME; static final String ROLE_RESOURCE_FORMAT; static final String DEFAULT_BOX_NAME; }