|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JettyDescriptor
This deployment descriptor provides the functionalities as described in the specification
Example:
JettyDescriptor descriptor = Descriptors.create(JettyDescriptor.class);
Method Summary | |
---|---|
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 |
removeClazz()
Removes the class attribute |
JettyDescriptor |
removeId()
Removes the id attribute |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Descriptor |
---|
exportAsString, exportTo, getDescriptorName |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace |
---|
addDefaultNamespaces, addNamespace, getNamespaces, removeAllNamespaces |
Method Detail |
---|
Ref<JettyDescriptor> getOrCreateRef()
Ref
element will be created and returned.
Otherwise, the first existing Ref
element will be returned.
Ref
Ref<JettyDescriptor> createRef()
Ref
element
Ref
List<Ref<JettyDescriptor>> getAllRef()
Ref
elements
Ref
JettyDescriptor removeAllRef()
Ref
elements
Ref
Map<JettyDescriptor> getOrCreateMap()
Map
element will be created and returned.
Otherwise, the first existing Map
element will be returned.
Map
Map<JettyDescriptor> createMap()
Map
element
Map
List<Map<JettyDescriptor>> getAllMap()
Map
elements
Map
JettyDescriptor removeAllMap()
Map
elements
Map
Call<JettyDescriptor> getOrCreateCall()
Call
element will be created and returned.
Otherwise, the first existing Call
element will be returned.
Call
Call<JettyDescriptor> createCall()
Call
element
Call
List<Call<JettyDescriptor>> getAllCall()
Call
elements
Call
JettyDescriptor removeAllCall()
Call
elements
Call
Put<JettyDescriptor> getOrCreatePut()
Put
element will be created and returned.
Otherwise, the first existing Put
element will be returned.
Put
Put<JettyDescriptor> createPut()
Put
element
Put
List<Put<JettyDescriptor>> getAllPut()
Put
elements
Put
JettyDescriptor removeAllPut()
Put
elements
Put
Array<JettyDescriptor> getOrCreateArray()
Array
element will be created and returned.
Otherwise, the first existing Array
element will be returned.
Array
Array<JettyDescriptor> createArray()
Array
element
Array
List<Array<JettyDescriptor>> getAllArray()
Array
elements
Array
JettyDescriptor removeAllArray()
Array
elements
Array
New<JettyDescriptor> getOrCreateNew()
New
element will be created and returned.
Otherwise, the first existing New
element will be returned.
New
New<JettyDescriptor> createNew()
New
element
New
List<New<JettyDescriptor>> getAllNew()
New
elements
New
JettyDescriptor removeAllNew()
New
elements
New
Property<JettyDescriptor> getOrCreateProperty()
Property
element will be created and returned.
Otherwise, the first existing Property
element will be returned.
Property
Property<JettyDescriptor> createProperty()
Property
element
Property
List<Property<JettyDescriptor>> getAllProperty()
Property
elements
Property
JettyDescriptor removeAllProperty()
Property
elements
Property
Get<JettyDescriptor> getOrCreateGet()
Get
element will be created and returned.
Otherwise, the first existing Get
element will be returned.
Get
Get<JettyDescriptor> createGet()
Get
element
Get
List<Get<JettyDescriptor>> getAllGet()
Get
elements
Get
JettyDescriptor removeAllGet()
Get
elements
Get
Set<JettyDescriptor> getOrCreateSet()
Set
element will be created and returned.
Otherwise, the first existing Set
element will be returned.
Set
Set<JettyDescriptor> createSet()
Set
element
Set
List<Set<JettyDescriptor>> getAllSet()
Set
elements
Set
JettyDescriptor removeAllSet()
Set
elements
Set
JettyDescriptor clazz(String clazz)
class
attribute
clazz
- the value for the attribute class
JettyDescriptor
String getClazz()
class
attribute
class
JettyDescriptor removeClazz()
class
attribute
JettyDescriptor
JettyDescriptor id(String id)
id
attribute
id
- the value for the attribute id
JettyDescriptor
String getId()
id
attribute
id
JettyDescriptor removeId()
id
attribute
JettyDescriptor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |