Constructor and Description |
---|
RunAsTypeImpl(T t,
String nodeName,
org.jboss.shrinkwrap.descriptor.spi.node.Node node) |
RunAsTypeImpl(T t,
String nodeName,
org.jboss.shrinkwrap.descriptor.spi.node.Node node,
org.jboss.shrinkwrap.descriptor.spi.node.Node childNode) |
Modifier and Type | Method and Description |
---|---|
RunAsType<T> |
description(String... values)
Creates for all String objects representing
description elements,
a new description element |
List<String> |
getAllDescription()
Returns all
description elements |
String |
getId()
Returns the
id attribute |
String |
getRoleName()
Returns the
role-name element |
RunAsType<T> |
id(String id)
Sets the
id attribute |
RunAsType<T> |
removeAllDescription()
Removes the
description element |
RunAsType<T> |
removeId()
Removes the
id attribute |
RunAsType<T> |
removeRoleName()
Removes the
role-name element |
RunAsType<T> |
roleName(String roleName)
Sets the
role-name element |
T |
up() |
public RunAsTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public RunAsType<T> description(String... values)
description
elements,
a new description
elementdescription
in interface RunAsType<T>
values
- list of description
objectsRunAsType
public List<String> getAllDescription()
description
elementsgetAllDescription
in interface RunAsType<T>
description
public RunAsType<T> removeAllDescription()
description
elementremoveAllDescription
in interface RunAsType<T>
RunAsType
public String getRoleName()
role-name
elementgetRoleName
in interface RunAsType<T>
role-name
public RunAsType<T> removeRoleName()
role-name
elementremoveRoleName
in interface RunAsType<T>
RunAsType
public String getId()
id
attributeCopyright © 2021 JBoss by Red Hat. All rights reserved.