Interface EnvEntryType<T>
- All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
- All Known Implementing Classes:
EnvEntryTypeImpl
public interface EnvEntryType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>
This interface defines the contract for the
env-entryType xsd type-
Method Summary
Modifier and TypeMethodDescriptiondescription(String... values) Creates for all String objects representingdescriptionelements, a newdescriptionelementenvEntryName(String envEntryName) Sets theenv-entry-nameelementenvEntryType(String envEntryType) Sets theenv-entry-typeelementenvEntryType(EnvEntryTypeValuesType envEntryType) Sets theenv-entry-typeelementenvEntryValue(String envEntryValue) Sets theenv-entry-valueelementReturns alldescriptionelementsReturns theenv-entry-nameelementReturns theenv-entry-typeelementReturns theenv-entry-typeelementReturns theenv-entry-valueelementgetId()Returns theidattributeSets theidattributeRemoves thedescriptionelementRemoves theenv-entry-nameelementRemoves theenv-entry-typeattributeRemoves theenv-entry-valueelementremoveId()Removes theidattributeMethods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
-
Method Details
-
description
Creates for all String objects representingdescriptionelements, a newdescriptionelement- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
EnvEntryType
-
getAllDescription
Returns alldescriptionelements- Returns:
- list of
description
-
removeAllDescription
EnvEntryType<T> removeAllDescription()Removes thedescriptionelement- Returns:
- the current instance of
EnvEntryType
-
envEntryName
Sets theenv-entry-nameelement- Parameters:
envEntryName- the value for the elementenv-entry-name- Returns:
- the current instance of
EnvEntryType
-
getEnvEntryName
String getEnvEntryName()Returns theenv-entry-nameelement- Returns:
- the node defined for the element
env-entry-name
-
removeEnvEntryName
EnvEntryType<T> removeEnvEntryName()Removes theenv-entry-nameelement- Returns:
- the current instance of
EnvEntryType
-
envEntryType
Sets theenv-entry-typeelement- Parameters:
envEntryType- the value for the elementenv-entry-type- Returns:
- the current instance of
EnvEntryType
-
envEntryType
Sets theenv-entry-typeelement- Parameters:
envEntryType- the value for the elementenv-entry-type- Returns:
- the current instance of
EnvEntryType
-
getEnvEntryType
EnvEntryTypeValuesType getEnvEntryType()Returns theenv-entry-typeelement- Returns:
- the value found for the element
env-entry-type
-
getEnvEntryTypeAsString
String getEnvEntryTypeAsString()Returns theenv-entry-typeelement- Returns:
- the value found for the element
env-entry-type
-
removeEnvEntryType
EnvEntryType<T> removeEnvEntryType()Removes theenv-entry-typeattribute- Returns:
- the current instance of
EnvEntryType
-
envEntryValue
Sets theenv-entry-valueelement- Parameters:
envEntryValue- the value for the elementenv-entry-value- Returns:
- the current instance of
EnvEntryType
-
getEnvEntryValue
String getEnvEntryValue()Returns theenv-entry-valueelement- Returns:
- the node defined for the element
env-entry-value
-
removeEnvEntryValue
EnvEntryType<T> removeEnvEntryValue()Removes theenv-entry-valueelement- Returns:
- the current instance of
EnvEntryType
-
id
Sets theidattribute- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
EnvEntryType
-
getId
String getId()Returns theidattribute- Returns:
- the value defined for the attribute
id
-
removeId
EnvEntryType<T> removeId()Removes theidattribute- Returns:
- the current instance of
EnvEntryType
-