public enum AttachmentPoint extends Enum<AttachmentPoint>
AttachmentPoint
represents places where an annotation can be attached.Enum Constant and Description |
---|
ACTION |
ANNOTATION |
CONNECTOR |
CONSTANT |
FUNCTION |
PARAMETER |
RESOURCE |
SERVICE |
STRUCT |
Modifier and Type | Method and Description |
---|---|
String |
getValue()
Get the string value of the attachment point.
|
String |
toString() |
static AttachmentPoint |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AttachmentPoint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AttachmentPoint SERVICE
public static final AttachmentPoint RESOURCE
public static final AttachmentPoint CONNECTOR
public static final AttachmentPoint ACTION
public static final AttachmentPoint FUNCTION
public static final AttachmentPoint STRUCT
public static final AttachmentPoint CONSTANT
public static final AttachmentPoint PARAMETER
public static final AttachmentPoint ANNOTATION
public static AttachmentPoint[] values()
for (AttachmentPoint c : AttachmentPoint.values()) System.out.println(c);
public static AttachmentPoint valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getValue()
public String toString()
toString
in class Enum<AttachmentPoint>
Copyright © 2018 WSO2. All rights reserved.