org.mule.devkit.generation.api
Enum ConnectorCategory
java.lang.Object
java.lang.Enum<ConnectorCategory>
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
...
COMMUNITY
public static final ConnectorCategory COMMUNITY
STANDARD
public static final ConnectorCategory STANDARD
PREMIUM
public static final ConnectorCategory PREMIUM
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.