public class DeploymentType extends Object implements Comparator
For an ordering among the various types, please refer to
DeploymentOrder.
Note that the comparator of the deployment types should return a consistent value during the lifetime of the deployment objects, e.g. it should not depend on values of mutable fields of the deployment objects.
The list of deployment types are as follows:
| Modifier and Type | Field and Description |
|---|---|
static DeploymentType |
CONNECTOR |
static String |
CONNECTOR_NAME |
static DeploymentType |
DEFAULT_APP |
static String |
DEFAULT_APP_NAME |
static DeploymentType |
INTERNAL_APP |
static String |
INTERNAL_APP_NAME |
static String |
SYSTEM_PREFIX |
static String |
USER |
| Modifier and Type | Method and Description |
|---|---|
protected int |
compare(ApplicationOrderInfo d1,
ApplicationOrderInfo d2) |
int |
compare(Object o1,
Object o2) |
protected int |
defaultCompare(Object o1,
Object o2) |
Comparator |
getComparator() |
boolean |
isInstance(Object obj) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitequalspublic static final String SYSTEM_PREFIX
public static final String USER
public static final String INTERNAL_APP_NAME
public static final String CONNECTOR_NAME
public static final String DEFAULT_APP_NAME
public static final DeploymentType INTERNAL_APP
public static final DeploymentType DEFAULT_APP
public static final DeploymentType CONNECTOR
public boolean isInstance(Object obj)
public Comparator getComparator()
public int compare(Object o1, Object o2)
compare in interface Comparatorprotected int compare(ApplicationOrderInfo d1, ApplicationOrderInfo d2)
Copyright © 2015. All rights reserved.