org.mule.devkit.generation.api
Enum ConnectorCategory

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

public enum ConnectorCategory
extends Enum<ConnectorCategory>

An enum that stores a list of valid categories that a connector can be assigned to. A category is set by default when creating a new connector, however users can configure this inside the pom.xml file as follows: ... Community ...


Enum Constant Summary
COMMUNITY
           
PREMIUM
           
STANDARD
           
 
Method Summary
 String getCategory()
           
static String[] getValidCategories()
           
static ConnectorCategory valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ConnectorCategory[] 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

COMMUNITY

public static final ConnectorCategory COMMUNITY

STANDARD

public static final ConnectorCategory STANDARD

PREMIUM

public static final ConnectorCategory PREMIUM
Method Detail

values

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

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

valueOf

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

getCategory

public String getCategory()

getValidCategories

public static String[] getValidCategories()


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