Annotation Type TargetType


  • @Retention(RUNTIME)
    @Documented
    @Target(TYPE)
    public @interface TargetType
    Target type annotation defines valid target configuration elements for the annotated command type. Valid configuration target are not expressed in terms of configuration types but as semantic representation like Standalone Instance or Cluster.
    Author:
    Jerome Dochez
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      CommandTarget[] value
      Returns an ordered array of valid command target that will be used to validate the command invocation target parameter.
    • Element Detail

      • value

        CommandTarget[] value
        Returns an ordered array of valid command target that will be used to validate the command invocation target parameter.
        Returns:
        the list of valid command target by type
        Default:
        {org.glassfish.config.support.CommandTarget.DAS, org.glassfish.config.support.CommandTarget.STANDALONE_INSTANCE, org.glassfish.config.support.CommandTarget.CLUSTER, org.glassfish.config.support.CommandTarget.CONFIG, org.glassfish.config.support.CommandTarget.DEPLOYMENT_GROUP}