public class Api extends Object implements Comparable<Api>
| Modifier and Type | Class and Description |
|---|---|
static class |
Api.SCOPE |
| Modifier and Type | Field and Description |
|---|---|
static Api |
ALFRESCO_PUBLIC |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Api other) |
boolean |
equals(Object obj) |
String |
getName() |
Api.SCOPE |
getScope() |
int |
getVersion() |
int |
hashCode() |
String |
toString() |
static Api |
valueOf(String apiName,
String apiScope,
String apiVersion)
Creates an valid instance of the Api object
|
public static final Api ALFRESCO_PUBLIC
public String getName()
public Api.SCOPE getScope()
public int getVersion()
public static Api valueOf(String apiName, String apiScope, String apiVersion) throws InvalidArgumentException
apiName - a String in lowercaseapiScope - SCOPEapiVersion - postive integerInvalidArgumentExceptionpublic int compareTo(Api other)
compareTo in interface Comparable<Api>Copyright © 2005–2018 Alfresco Software. All rights reserved.