Interface WorkmanagerSecurityType<T>
- All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
- All Known Implementing Classes:
WorkmanagerSecurityTypeImpl
public interface WorkmanagerSecurityType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>
This interface defines the contract for the
workmanagerSecurityType xsd type-
Method Summary
Modifier and TypeMethodDescriptiondefaultPrincipal(String defaultPrincipal) Sets thedefault-principalelementSets thedomainelementReturns thedefault-principalelementReturns thedomainelementIf not already created, a newdefault-groupselement with the given value will be created.If not already created, a newmappingselement with the given value will be created.Returns themapping-requiredelementmappingRequired(Boolean mappingRequired) Sets themapping-requiredelementRemoves thedefault-groupselementRemoves thedefault-principalelementRemoves thedomainelementRemoves themapping-requiredelementRemoves themappingselementMethods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
-
Method Details
-
mappingRequired
Sets themapping-requiredelement- Parameters:
mappingRequired- the value for the elementmapping-required- Returns:
- the current instance of
WorkmanagerSecurityType
-
isMappingRequired
Boolean isMappingRequired()Returns themapping-requiredelement- Returns:
- the node defined for the element
mapping-required
-
removeMappingRequired
WorkmanagerSecurityType<T> removeMappingRequired()Removes themapping-requiredelement- Returns:
- the current instance of
WorkmanagerSecurityType
-
domain
Sets thedomainelement- Parameters:
domain- the value for the elementdomain- Returns:
- the current instance of
WorkmanagerSecurityType
-
getDomain
String getDomain()Returns thedomainelement- Returns:
- the node defined for the element
domain
-
removeDomain
WorkmanagerSecurityType<T> removeDomain()Removes thedomainelement- Returns:
- the current instance of
WorkmanagerSecurityType
-
defaultPrincipal
Sets thedefault-principalelement- Parameters:
defaultPrincipal- the value for the elementdefault-principal- Returns:
- the current instance of
WorkmanagerSecurityType
-
getDefaultPrincipal
String getDefaultPrincipal()Returns thedefault-principalelement- Returns:
- the node defined for the element
default-principal
-
removeDefaultPrincipal
WorkmanagerSecurityType<T> removeDefaultPrincipal()Removes thedefault-principalelement- Returns:
- the current instance of
WorkmanagerSecurityType
-
getOrCreateDefaultGroups
WorkmanagerSecurityGroupsType<WorkmanagerSecurityType<T>> getOrCreateDefaultGroups()If not already created, a newdefault-groupselement with the given value will be created. Otherwise, the existingdefault-groupselement will be returned.- Returns:
- a new or existing instance of
WorkmanagerSecurityGroupsTypeinvalid input: '<'WorkmanagerSecurityType>
-
removeDefaultGroups
WorkmanagerSecurityType<T> removeDefaultGroups()Removes thedefault-groupselement- Returns:
- the current instance of
WorkmanagerSecurityType
-
getOrCreateMappings
WorkmanagerSecurityMappingsType<WorkmanagerSecurityType<T>> getOrCreateMappings()If not already created, a newmappingselement with the given value will be created. Otherwise, the existingmappingselement will be returned.- Returns:
- a new or existing instance of
WorkmanagerSecurityMappingsTypeinvalid input: '<'WorkmanagerSecurityType>
-
removeMappings
WorkmanagerSecurityType<T> removeMappings()Removes themappingselement- Returns:
- the current instance of
WorkmanagerSecurityType
-