org.mule.api.devkit.capability
Enum ModuleCapability

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

public enum ModuleCapability
extends Enum<ModuleCapability>

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 ModuleCapability valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ModuleCapability[] 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 ModuleCapability LIFECYCLE_CAPABLE
This capability indicates that the module implements Lifecycle


CONNECTION_MANAGEMENT_CAPABLE

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


OAUTH1_CAPABLE

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


OAUTH2_CAPABLE

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


POOLING_CAPABLE

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


OAUTH_ACCESS_TOKEN_MANAGEMENT_CAPABLE

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

Method Detail

values

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

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

valueOf

public static ModuleCapability 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 © 2003-2014 MuleSoft, Inc.. All Rights Reserved.