Class WorkmanagerTypeImpl<T>

  • All Implemented Interfaces:
    WorkmanagerType<T>, org.jboss.shrinkwrap.descriptor.api.Child<T>

    public class WorkmanagerTypeImpl<T>
    extends Object
    implements org.jboss.shrinkwrap.descriptor.api.Child<T>, WorkmanagerType<T>
    This class implements the workmanagerType xsd type
    • Constructor Detail

      • WorkmanagerTypeImpl

        public WorkmanagerTypeImpl​(T t,
                                   String nodeName,
                                   org.jboss.shrinkwrap.descriptor.spi.node.Node node)
      • WorkmanagerTypeImpl

        public WorkmanagerTypeImpl​(T t,
                                   String nodeName,
                                   org.jboss.shrinkwrap.descriptor.spi.node.Node node,
                                   org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
    • Method Detail

      • up

        public T up()
        Specified by:
        up in interface org.jboss.shrinkwrap.descriptor.api.Child<T>
      • getOrCreateSecurity

        public WorkmanagerSecurityType<WorkmanagerType<T>> getOrCreateSecurity()
        If not already created, a new security element with the given value will be created. Otherwise, the existing security element will be returned.
        Specified by:
        getOrCreateSecurity in interface WorkmanagerType<T>
        Returns:
        a new or existing instance of WorkmanagerSecurityType>