com.esri.core.portal
Enum PortalMode

java.lang.Object
  extended by java.lang.Enum<PortalMode>
      extended by com.esri.core.portal.PortalMode
All Implemented Interfaces:
Serializable, Comparable<PortalMode>

public enum PortalMode
extends Enum<PortalMode>

Signifies the tenancy mode of a portal.


Enum Constant Summary
MULTI_TENANT
          Portal type is multi tenant.
SINGLE_TENANT
          Portal type is single tenant.
 
Method Summary
 String toString()
          Returns a human readable string representing the tenant mode.
static PortalMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PortalMode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SINGLE_TENANT

public static final PortalMode SINGLE_TENANT
Portal type is single tenant.


MULTI_TENANT

public static final PortalMode MULTI_TENANT
Portal type is multi tenant.

Method Detail

values

public static PortalMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (PortalMode c : PortalMode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static PortalMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

toString

public String toString()
Returns a human readable string representing the tenant mode.

Overrides:
toString in class Enum<PortalMode>
Returns:
A human readable string representing the tenant mode


Copyright © 2012. All Rights Reserved.