Class Configuration.ClassList

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<java.lang.String>, java.util.Collection<java.lang.String>, java.util.List<java.lang.String>, java.util.RandomAccess
    Enclosing interface:
    Configuration

    @Deprecated(since="2021-05-27")
    public static class Configuration.ClassList
    extends java.util.ArrayList<java.lang.String>
    Deprecated.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ClassList()
      Deprecated.
       
      ClassList​(java.lang.String[] classes)
      Deprecated.
       
      ClassList​(java.util.List<java.lang.String> classes)
      Deprecated.
       
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void addAfter​(java.lang.String afterClass, java.lang.String... configClass)
      Deprecated.
       
      void addBefore​(java.lang.String beforeClass, java.lang.String... configClass)
      Deprecated.
       
      void replace​(java.lang.String replaceClass, java.lang.String configClass)
      Deprecated.
       
      static Configuration.ClassList serverDefault​(Server server)
      Deprecated.
      Get/Create the server default Configuration ClassList.
      static Configuration.ClassList setServerDefault​(Server server)
      Deprecated.
      Get/Set/Create the server default Configuration ClassList.
      • Methods inherited from class java.util.ArrayList

        add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
      • Methods inherited from class java.util.AbstractCollection

        containsAll, toString
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Collection

        parallelStream, stream, toArray
      • Methods inherited from interface java.util.List

        containsAll
    • Constructor Detail

      • ClassList

        public ClassList()
        Deprecated.
      • ClassList

        public ClassList​(java.lang.String[] classes)
        Deprecated.
      • ClassList

        public ClassList​(java.util.List<java.lang.String> classes)
        Deprecated.
    • Method Detail

      • setServerDefault

        public static Configuration.ClassList setServerDefault​(Server server)
        Deprecated.
        Get/Set/Create the server default Configuration ClassList.

        Get the class list from: a Server bean; or the attribute (which can either be a ClassList instance or an String[] of class names); or a new instance with default configuration classes.

        This method also adds the obtained ClassList instance as a dependent bean on the server and clears the attribute

        Parameters:
        server - The server the default is for
        Returns:
        the server default ClassList instance of the configuration classes for this server. Changes to this list will change the server default instance.
      • serverDefault

        public static Configuration.ClassList serverDefault​(Server server)
        Deprecated.
        Get/Create the server default Configuration ClassList.

        Get the class list from: a Server bean; or the attribute (which can either be a ClassList instance or an String[] of class names); or a new instance with default configuration classes.

        Parameters:
        server - The server the default is for
        Returns:
        A copy of the server default ClassList instance of the configuration classes for this server. Changes to the returned list will not change the server default.
      • addAfter

        public void addAfter​(@Name("afterClass")
                             java.lang.String afterClass,
                             @Name("configClass")
                             java.lang.String... configClass)
        Deprecated.
      • addBefore

        public void addBefore​(@Name("beforeClass")
                              java.lang.String beforeClass,
                              @Name("configClass")
                              java.lang.String... configClass)
        Deprecated.
      • replace

        public void replace​(@Name("replaceClass")
                            java.lang.String replaceClass,
                            @Name("configClass")
                            java.lang.String configClass)
        Deprecated.