org.jboss.shrinkwrap.descriptor.api.jetty7
Interface JettyDescriptor

All Superinterfaces:
Descriptor, DescriptorNamespace<JettyDescriptor>

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);

Since:
Generation date :2013-01-26T19:27:01.277+01:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

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

getOrCreateRef

Ref<JettyDescriptor> getOrCreateRef()
If not already created, a new Ref element will be created and returned. Otherwise, the first existing Ref element will be returned.

Returns:
the instance defined for the element Ref

createRef

Ref<JettyDescriptor> createRef()
Creates a new Ref element

Returns:
the new created instance of Ref

getAllRef

List<Ref<JettyDescriptor>> getAllRef()
Returns all Ref elements

Returns:
list of Ref

removeAllRef

JettyDescriptor removeAllRef()
Removes all Ref elements

Returns:
the current instance of Ref

getOrCreateMap

Map<JettyDescriptor> getOrCreateMap()
If not already created, a new Map element will be created and returned. Otherwise, the first existing Map element will be returned.

Returns:
the instance defined for the element Map

createMap

Map<JettyDescriptor> createMap()
Creates a new Map element

Returns:
the new created instance of Map

getAllMap

List<Map<JettyDescriptor>> getAllMap()
Returns all Map elements

Returns:
list of Map

removeAllMap

JettyDescriptor removeAllMap()
Removes all Map elements

Returns:
the current instance of Map

getOrCreateCall

Call<JettyDescriptor> getOrCreateCall()
If not already created, a new Call element will be created and returned. Otherwise, the first existing Call element will be returned.

Returns:
the instance defined for the element Call

createCall

Call<JettyDescriptor> createCall()
Creates a new Call element

Returns:
the new created instance of Call

getAllCall

List<Call<JettyDescriptor>> getAllCall()
Returns all Call elements

Returns:
list of Call

removeAllCall

JettyDescriptor removeAllCall()
Removes all Call elements

Returns:
the current instance of Call

getOrCreatePut

Put<JettyDescriptor> getOrCreatePut()
If not already created, a new Put element will be created and returned. Otherwise, the first existing Put element will be returned.

Returns:
the instance defined for the element Put

createPut

Put<JettyDescriptor> createPut()
Creates a new Put element

Returns:
the new created instance of Put

getAllPut

List<Put<JettyDescriptor>> getAllPut()
Returns all Put elements

Returns:
list of Put

removeAllPut

JettyDescriptor removeAllPut()
Removes all Put elements

Returns:
the current instance of Put

getOrCreateArray

Array<JettyDescriptor> getOrCreateArray()
If not already created, a new Array element will be created and returned. Otherwise, the first existing Array element will be returned.

Returns:
the instance defined for the element Array

createArray

Array<JettyDescriptor> createArray()
Creates a new Array element

Returns:
the new created instance of Array

getAllArray

List<Array<JettyDescriptor>> getAllArray()
Returns all Array elements

Returns:
list of Array

removeAllArray

JettyDescriptor removeAllArray()
Removes all Array elements

Returns:
the current instance of Array

getOrCreateNew

New<JettyDescriptor> getOrCreateNew()
If not already created, a new New element will be created and returned. Otherwise, the first existing New element will be returned.

Returns:
the instance defined for the element New

createNew

New<JettyDescriptor> createNew()
Creates a new New element

Returns:
the new created instance of New

getAllNew

List<New<JettyDescriptor>> getAllNew()
Returns all New elements

Returns:
list of New

removeAllNew

JettyDescriptor removeAllNew()
Removes all New elements

Returns:
the current instance of New

getOrCreateProperty

Property<JettyDescriptor> getOrCreateProperty()
If not already created, a new Property element will be created and returned. Otherwise, the first existing Property element will be returned.

Returns:
the instance defined for the element Property

createProperty

Property<JettyDescriptor> createProperty()
Creates a new Property element

Returns:
the new created instance of Property

getAllProperty

List<Property<JettyDescriptor>> getAllProperty()
Returns all Property elements

Returns:
list of Property

removeAllProperty

JettyDescriptor removeAllProperty()
Removes all Property elements

Returns:
the current instance of Property

getOrCreateGet

Get<JettyDescriptor> getOrCreateGet()
If not already created, a new Get element will be created and returned. Otherwise, the first existing Get element will be returned.

Returns:
the instance defined for the element Get

createGet

Get<JettyDescriptor> createGet()
Creates a new Get element

Returns:
the new created instance of Get

getAllGet

List<Get<JettyDescriptor>> getAllGet()
Returns all Get elements

Returns:
list of Get

removeAllGet

JettyDescriptor removeAllGet()
Removes all Get elements

Returns:
the current instance of Get

getOrCreateSet

Set<JettyDescriptor> getOrCreateSet()
If not already created, a new Set element will be created and returned. Otherwise, the first existing Set element will be returned.

Returns:
the instance defined for the element Set

createSet

Set<JettyDescriptor> createSet()
Creates a new Set element

Returns:
the new created instance of Set

getAllSet

List<Set<JettyDescriptor>> getAllSet()
Returns all Set elements

Returns:
list of Set

removeAllSet

JettyDescriptor removeAllSet()
Removes all Set elements

Returns:
the current instance of Set

clazz

JettyDescriptor clazz(String clazz)
Sets the class attribute

Parameters:
clazz - the value for the attribute class
Returns:
the current instance of JettyDescriptor

getClazz

String getClazz()
Returns the class attribute

Returns:
the value defined for the attribute class

removeClazz

JettyDescriptor removeClazz()
Removes the class attribute

Returns:
the current instance of JettyDescriptor

id

JettyDescriptor id(String id)
Sets the id attribute

Parameters:
id - the value for the attribute id
Returns:
the current instance of JettyDescriptor

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

JettyDescriptor removeId()
Removes the id attribute

Returns:
the current instance of JettyDescriptor


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.