public interface JettyDescriptor extends Descriptor, DescriptorNamespace<JettyDescriptor>
This deployment descriptor provides the functionalities as described in the specification
Example:
JettyDescriptor descriptor = Descriptors.create(JettyDescriptor.class);
Modifier and Type | Method and Description |
---|---|
JettyDescriptor |
clazz(String clazz)
Sets the
class attribute |
Array<JettyDescriptor> |
createArray()
Creates a new
Array element |
Call<JettyDescriptor> |
createCall()
Creates a new
Call element |
Get<JettyDescriptor> |
createGet()
Creates a new
Get element |
Map<JettyDescriptor> |
createMap()
Creates a new
Map element |
New<JettyDescriptor> |
createNew()
Creates a new
New element |
Property<JettyDescriptor> |
createProperty()
Creates a new
Property element |
Put<JettyDescriptor> |
createPut()
Creates a new
Put element |
Ref<JettyDescriptor> |
createRef()
Creates a new
Ref element |
Set<JettyDescriptor> |
createSet()
Creates a new
Set element |
List<Array<JettyDescriptor>> |
getAllArray()
Returns all
Array elements |
List<Call<JettyDescriptor>> |
getAllCall()
Returns all
Call elements |
List<Get<JettyDescriptor>> |
getAllGet()
Returns all
Get elements |
List<Map<JettyDescriptor>> |
getAllMap()
Returns all
Map elements |
List<New<JettyDescriptor>> |
getAllNew()
Returns all
New elements |
List<Property<JettyDescriptor>> |
getAllProperty()
Returns all
Property elements |
List<Put<JettyDescriptor>> |
getAllPut()
Returns all
Put elements |
List<Ref<JettyDescriptor>> |
getAllRef()
Returns all
Ref elements |
List<Set<JettyDescriptor>> |
getAllSet()
Returns all
Set elements |
String |
getClazz()
Returns the
class attribute |
String |
getId()
Returns the
id attribute |
Array<JettyDescriptor> |
getOrCreateArray()
If not already created, a new
Array element will be created and returned. |
Call<JettyDescriptor> |
getOrCreateCall()
If not already created, a new
Call element will be created and returned. |
Get<JettyDescriptor> |
getOrCreateGet()
If not already created, a new
Get element will be created and returned. |
Map<JettyDescriptor> |
getOrCreateMap()
If not already created, a new
Map element will be created and returned. |
New<JettyDescriptor> |
getOrCreateNew()
If not already created, a new
New element will be created and returned. |
Property<JettyDescriptor> |
getOrCreateProperty()
If not already created, a new
Property element will be created and returned. |
Put<JettyDescriptor> |
getOrCreatePut()
If not already created, a new
Put element will be created and returned. |
Ref<JettyDescriptor> |
getOrCreateRef()
If not already created, a new
Ref element will be created and returned. |
Set<JettyDescriptor> |
getOrCreateSet()
If not already created, a new
Set element will be created and returned. |
JettyDescriptor |
id(String id)
Sets the
id attribute |
JettyDescriptor |
removeAllArray()
Removes all
Array elements |
JettyDescriptor |
removeAllCall()
Removes all
Call elements |
JettyDescriptor |
removeAllGet()
Removes all
Get elements |
JettyDescriptor |
removeAllMap()
Removes all
Map elements |
JettyDescriptor |
removeAllNew()
Removes all
New elements |
JettyDescriptor |
removeAllProperty()
Removes all
Property elements |
JettyDescriptor |
removeAllPut()
Removes all
Put elements |
JettyDescriptor |
removeAllRef()
Removes all
Ref elements |
JettyDescriptor |
removeAllSet()
Removes all
Set elements |
JettyDescriptor |
removeClazzAttr()
Removes the
class attribute |
JettyDescriptor |
removeId()
Removes the
id attribute |
exportAsString, exportTo, getDescriptorName
addDefaultNamespaces, addNamespace, getNamespaces, removeAllNamespaces
Array<JettyDescriptor> getOrCreateArray()
Array
element will be created and returned.
Otherwise, the first existing Array
element will be returned.Array
Array<JettyDescriptor> createArray()
Array
elementArray
List<Array<JettyDescriptor>> getAllArray()
Array
elementsArray
JettyDescriptor removeAllArray()
Array
elementsArray
Call<JettyDescriptor> getOrCreateCall()
Call
element will be created and returned.
Otherwise, the first existing Call
element will be returned.Call
Call<JettyDescriptor> createCall()
Call
elementCall
List<Call<JettyDescriptor>> getAllCall()
Call
elementsCall
JettyDescriptor removeAllCall()
Call
elementsCall
New<JettyDescriptor> getOrCreateNew()
New
element will be created and returned.
Otherwise, the first existing New
element will be returned.New
New<JettyDescriptor> createNew()
New
elementNew
List<New<JettyDescriptor>> getAllNew()
New
elementsNew
JettyDescriptor removeAllNew()
New
elementsNew
Ref<JettyDescriptor> getOrCreateRef()
Ref
element will be created and returned.
Otherwise, the first existing Ref
element will be returned.Ref
Ref<JettyDescriptor> createRef()
Ref
elementRef
List<Ref<JettyDescriptor>> getAllRef()
Ref
elementsRef
JettyDescriptor removeAllRef()
Ref
elementsRef
Set<JettyDescriptor> getOrCreateSet()
Set
element will be created and returned.
Otherwise, the first existing Set
element will be returned.Set
Set<JettyDescriptor> createSet()
Set
elementSet
List<Set<JettyDescriptor>> getAllSet()
Set
elementsSet
JettyDescriptor removeAllSet()
Set
elementsSet
Get<JettyDescriptor> getOrCreateGet()
Get
element will be created and returned.
Otherwise, the first existing Get
element will be returned.Get
Get<JettyDescriptor> createGet()
Get
elementGet
List<Get<JettyDescriptor>> getAllGet()
Get
elementsGet
JettyDescriptor removeAllGet()
Get
elementsGet
Map<JettyDescriptor> getOrCreateMap()
Map
element will be created and returned.
Otherwise, the first existing Map
element will be returned.Map
Map<JettyDescriptor> createMap()
Map
elementMap
List<Map<JettyDescriptor>> getAllMap()
Map
elementsMap
JettyDescriptor removeAllMap()
Map
elementsMap
Property<JettyDescriptor> getOrCreateProperty()
Property
element will be created and returned.
Otherwise, the first existing Property
element will be returned.Property
Property<JettyDescriptor> createProperty()
Property
elementProperty
List<Property<JettyDescriptor>> getAllProperty()
Property
elementsProperty
JettyDescriptor removeAllProperty()
Property
elementsProperty
Put<JettyDescriptor> getOrCreatePut()
Put
element will be created and returned.
Otherwise, the first existing Put
element will be returned.Put
Put<JettyDescriptor> createPut()
Put
elementPut
List<Put<JettyDescriptor>> getAllPut()
Put
elementsPut
JettyDescriptor removeAllPut()
Put
elementsPut
JettyDescriptor clazz(String clazz)
class
attributeclazz
- the value for the attribute class
JettyDescriptor
String getClazz()
class
attributeclass
JettyDescriptor removeClazzAttr()
class
attributeJettyDescriptor
JettyDescriptor id(String id)
id
attributeid
- the value for the attribute id
JettyDescriptor
String getId()
id
attributeid
JettyDescriptor removeId()
id
attributeJettyDescriptor
Copyright © 2024 JBoss by Red Hat. All rights reserved.