Class ListFileGroup

  • All Implemented Interfaces:
    org.glassfish.api.admin.AdminCommand, org.glassfish.api.admin.AdminCommandSecurity.Preauthorization

    @Service(name="list-file-groups")
    @PerLookup
    @CommandLock(NONE)
    @ExecuteOn(DAS)
    @TargetType({DAS,STANDALONE_INSTANCE,CLUSTER,CLUSTERED_INSTANCE,CONFIG})
    public class ListFileGroup
    extends Object
    implements org.glassfish.api.admin.AdminCommand, org.glassfish.api.admin.AdminCommandSecurity.Preauthorization
    List File GroupsCommand Usage: list-file-groups [--terse={true|false}][ --echo={true|false} ] [ --interactive={true|false} ] [--host host] [--port port] [--secure| -s ] [--user admin_user] [--passwordfile filename] [--help] [--name username] [--authrealmname auth_realm_name] [ target]
    Author:
    Nandini Ektare
    • Constructor Detail

      • ListFileGroup

        public ListFileGroup()
    • Method Detail

      • preAuthorization

        public boolean preAuthorization​(org.glassfish.api.admin.AdminCommandContext context)
        Specified by:
        preAuthorization in interface org.glassfish.api.admin.AdminCommandSecurity.Preauthorization
      • execute

        public void execute​(org.glassfish.api.admin.AdminCommandContext context)
        Executes the command with the command parameters passed as Properties where the keys are the paramter names and the values the parameter values
        Specified by:
        execute in interface org.glassfish.api.admin.AdminCommand
        Parameters:
        context - information