public class WorkmanagerSecurityTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, WorkmanagerSecurityType<T>
workmanagerSecurityType xsd type| Constructor and Description |
|---|
WorkmanagerSecurityTypeImpl(T t,
String nodeName,
org.jboss.shrinkwrap.descriptor.spi.node.Node node) |
WorkmanagerSecurityTypeImpl(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 |
|---|---|
WorkmanagerSecurityType<T> |
defaultPrincipal(String defaultPrincipal)
Sets the
default-principal element |
WorkmanagerSecurityType<T> |
domain(String domain)
Sets the
domain element |
String |
getDefaultPrincipal()
Returns the
default-principal element |
String |
getDomain()
Returns the
domain element |
WorkmanagerSecurityGroupsType<WorkmanagerSecurityType<T>> |
getOrCreateDefaultGroups()
If not already created, a new
default-groups element with the given value will be created. |
WorkmanagerSecurityMappingsType<WorkmanagerSecurityType<T>> |
getOrCreateMappings()
If not already created, a new
mappings element with the given value will be created. |
Boolean |
isMappingRequired()
Returns the
mapping-required element |
WorkmanagerSecurityType<T> |
mappingRequired(Boolean mappingRequired)
Sets the
mapping-required element |
WorkmanagerSecurityType<T> |
removeDefaultGroups()
Removes the
default-groups element |
WorkmanagerSecurityType<T> |
removeDefaultPrincipal()
Removes the
default-principal element |
WorkmanagerSecurityType<T> |
removeDomain()
Removes the
domain element |
WorkmanagerSecurityType<T> |
removeMappingRequired()
Removes the
mapping-required element |
WorkmanagerSecurityType<T> |
removeMappings()
Removes the
mappings element |
T |
up() |
public WorkmanagerSecurityTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public WorkmanagerSecurityType<T> mappingRequired(Boolean mappingRequired)
mapping-required elementmappingRequired in interface WorkmanagerSecurityType<T>mappingRequired - the value for the element mapping-requiredWorkmanagerSecurityTypepublic Boolean isMappingRequired()
mapping-required elementisMappingRequired in interface WorkmanagerSecurityType<T>mapping-requiredpublic WorkmanagerSecurityType<T> removeMappingRequired()
mapping-required elementremoveMappingRequired in interface WorkmanagerSecurityType<T>WorkmanagerSecurityTypepublic WorkmanagerSecurityType<T> domain(String domain)
domain elementdomain in interface WorkmanagerSecurityType<T>domain - the value for the element domainWorkmanagerSecurityTypepublic String getDomain()
domain elementgetDomain in interface WorkmanagerSecurityType<T>domainpublic WorkmanagerSecurityType<T> removeDomain()
domain elementremoveDomain in interface WorkmanagerSecurityType<T>WorkmanagerSecurityTypepublic WorkmanagerSecurityType<T> defaultPrincipal(String defaultPrincipal)
default-principal elementdefaultPrincipal in interface WorkmanagerSecurityType<T>defaultPrincipal - the value for the element default-principalWorkmanagerSecurityTypepublic String getDefaultPrincipal()
default-principal elementgetDefaultPrincipal in interface WorkmanagerSecurityType<T>default-principalpublic WorkmanagerSecurityType<T> removeDefaultPrincipal()
default-principal elementremoveDefaultPrincipal in interface WorkmanagerSecurityType<T>WorkmanagerSecurityTypepublic WorkmanagerSecurityGroupsType<WorkmanagerSecurityType<T>> getOrCreateDefaultGroups()
default-groups element with the given value will be created.
Otherwise, the existing default-groups element will be returned.getOrCreateDefaultGroups in interface WorkmanagerSecurityType<T>WorkmanagerSecurityGroupsType> public WorkmanagerSecurityType<T> removeDefaultGroups()
default-groups elementremoveDefaultGroups in interface WorkmanagerSecurityType<T>WorkmanagerSecurityTypepublic WorkmanagerSecurityMappingsType<WorkmanagerSecurityType<T>> getOrCreateMappings()
mappings element with the given value will be created.
Otherwise, the existing mappings element will be returned.getOrCreateMappings in interface WorkmanagerSecurityType<T>WorkmanagerSecurityMappingsType> public WorkmanagerSecurityType<T> removeMappings()
mappings elementremoveMappings in interface WorkmanagerSecurityType<T>WorkmanagerSecurityTypeCopyright © 2021 JBoss by Red Hat. All rights reserved.