Class CommandDescriptor<T>

    • Field Detail

      • serialVersionUID

        🡇     🗕  🗗  🗖
        protected static final long serialVersionUID
        This fulfils the SerialVersion UID requirement for all classes that implement Java's interface java.io.Serializable. Using the Serializable Implementation offered by java is very easy, and can make saving program state when debugging a lot easier. It can also be used in place of more complicated systems like "hibernate" to store data as well.
        See Also:
        Constant Field Values
        Code:
        Exact Field Declaration Expression:
         protected static final long serialVersionUID = 1L;
        
      • returnClass

        🡅  🡇     🗕  🗗  🗖
        public final java.lang.Class<T> returnClass
        The Java Class returned by the command.
        Code:
        Exact Field Declaration Expression:
         public final Class<T> returnClass;
        
    • Constructor Detail

      • CommandDescriptor

        🡅  🡇     🗕  🗗  🗖
        public CommandDescriptor​(java.lang.String name,
                                 Domains domain,
                                 ReadOnlyList<java.lang.String> names,
                                 ReadOnlyList<java.lang.Byte> types,
                                 ReadOnlyList<java.lang.Boolean> optionals,
                                 ReadOnlyList<java.lang.Boolean> experimentals,
                                 java.lang.Class<T> returnClass)
        This is a public constructor, but it's primarily intended for internal use.
        Parameters:
        name - The name of the CDP type described by this descriptor.
        domain - The Browser Domain containing the described CDP type.
        names - Parallel list of CDP property names.
        types - Parallel list of CDP Type Constants.
        optionals - Parallel list indicating which properties are optional.
        experimentals - Parallel list indicating which properties are experimental.
        returnClass - The Java Class returned by the command.