public final class ResourceType extends Entity
| Modifier and Type | Class and Description |
|---|---|
static class |
ResourceType.Blueprint
Data required to create a resource type.
|
| Modifier and Type | Field and Description |
|---|---|
static SegmentType |
SEGMENT_TYPE |
properties| Constructor and Description |
|---|
ResourceType(CanonicalPath path) |
ResourceType(CanonicalPath path,
Map<String,Object> properties) |
ResourceType(String name,
CanonicalPath path) |
ResourceType(String name,
CanonicalPath path,
Map<String,Object> properties) |
| Modifier and Type | Method and Description |
|---|---|
<R,P> R |
accept(ElementVisitor<R,P> visitor,
P parameter)
Accepts the provided visitor.
|
appendToString, entityTypeFromSegmentType, getName, toString, typeFromSegmentTypeequals, getId, getPath, getProperties, hashCode, segmentTypeFromType, toElementClasspublic static final SegmentType SEGMENT_TYPE
public ResourceType(CanonicalPath path)
public ResourceType(String name, CanonicalPath path)
public ResourceType(CanonicalPath path, Map<String,Object> properties)
public ResourceType(String name, CanonicalPath path, Map<String,Object> properties)
public <R,P> R accept(ElementVisitor<R,P> visitor, P parameter)
AbstractElementaccept in class AbstractElementR - the return typeP - the type of the parametervisitor - the visitor to visit this entityparameter - the parameter to pass on to the visitorCopyright © 2014–2017 Red Hat, Inc.. All rights reserved.