org.mule.devkit.dynamic.api.helper
Enum Capability

java.lang.Object
  extended by java.lang.Enum<Capability>
      extended by org.mule.devkit.dynamic.api.helper.Capability
All Implemented Interfaces:
Serializable, Comparable<Capability>

public enum Capability
extends Enum<Capability>

Enumeration of possible capabilities of Mule modules. Each capability represents a bit in a bit array. The capabilities of a particular module can be queried using Capabilities


Enum Constant Summary
CONNECTION_MANAGEMENT_CAPABLE
          This capability indicates that the module implements ConnectionManager
LIFECYCLE_CAPABLE
          This capability indicates that the module implements Lifecycle
OAUTH_ACCESS_TOKEN_MANAGEMENT_CAPABLE
          This capability indicates that the module implements org.mule.api.oauth.OAuthManager
OAUTH1_CAPABLE
          This capability indicates that the module implements org.mule.api.oauth.OAuth1Adapter
OAUTH2_CAPABLE
          This capability indicates that the module implements org.mule.api.oauth.OAuth2Adapter
POOLING_CAPABLE
          This capability indicates that the module implements org.mule.api.adapter.PoolManager
 
Method Summary
 int getBit()
           
static Capability valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Capability[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

LIFECYCLE_CAPABLE

public static final Capability LIFECYCLE_CAPABLE
This capability indicates that the module implements Lifecycle


CONNECTION_MANAGEMENT_CAPABLE

public static final Capability CONNECTION_MANAGEMENT_CAPABLE
This capability indicates that the module implements ConnectionManager


OAUTH1_CAPABLE

public static final Capability OAUTH1_CAPABLE
This capability indicates that the module implements org.mule.api.oauth.OAuth1Adapter


OAUTH2_CAPABLE

public static final Capability OAUTH2_CAPABLE
This capability indicates that the module implements org.mule.api.oauth.OAuth2Adapter


POOLING_CAPABLE

public static final Capability POOLING_CAPABLE
This capability indicates that the module implements org.mule.api.adapter.PoolManager


OAUTH_ACCESS_TOKEN_MANAGEMENT_CAPABLE

public static final Capability OAUTH_ACCESS_TOKEN_MANAGEMENT_CAPABLE
This capability indicates that the module implements org.mule.api.oauth.OAuthManager

Method Detail

values

public static Capability[] 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 (Capability c : Capability.values())
    System.out.println(c);

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

valueOf

public static Capability 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

getBit

public int getBit()


Copyright © 2010–2014 MuleSoft, Inc.. All rights reserved.