Interface WorkmanagerSecurityMappingsType<T>
- All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
- All Known Implementing Classes:
WorkmanagerSecurityMappingsTypeImpl
public interface WorkmanagerSecurityMappingsType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>
This interface defines the contract for the
workmanagerSecurityMappingsType xsd type-
Method Summary
Modifier and TypeMethodDescriptionIf not already created, a newgroupselement with the given value will be created.If not already created, a newuserselement with the given value will be created.Removes thegroupselementRemoves theuserselementMethods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
-
Method Details
-
getOrCreateUsers
WorkmanagerSecurityMappingsUsersType<WorkmanagerSecurityMappingsType<T>> getOrCreateUsers()If not already created, a newuserselement with the given value will be created. Otherwise, the existinguserselement will be returned.- Returns:
- a new or existing instance of
WorkmanagerSecurityMappingsUsersType<WorkmanagerSecurityMappingsType>
-
removeUsers
WorkmanagerSecurityMappingsType<T> removeUsers()Removes theuserselement- Returns:
- the current instance of
WorkmanagerSecurityMappingsType
-
getOrCreateGroups
WorkmanagerSecurityMappingsGroupsType<WorkmanagerSecurityMappingsType<T>> getOrCreateGroups()If not already created, a newgroupselement with the given value will be created. Otherwise, the existinggroupselement will be returned.- Returns:
- a new or existing instance of
WorkmanagerSecurityMappingsGroupsType<WorkmanagerSecurityMappingsType>
-
removeGroups
WorkmanagerSecurityMappingsType<T> removeGroups()Removes thegroupselement- Returns:
- the current instance of
WorkmanagerSecurityMappingsType
-