public static class CheckConfig.GetGroupsTask extends Object implements SubVMTask
initialLookupGroups
entries and
returns them in an array of GroupInfo
objects.Constructor and Description |
---|
GetGroupsTask() |
Modifier and Type | Method and Description |
---|---|
private Object |
getGroups(Configuration conf)
Search for all entries named
initialLookupGroups
in the configuration and return the array of GroupInfo
objects containing the full entry name and associated groups |
Object |
run(String[] args)
Instantiate the configuration.
|
public Object run(String[] args)
args
is stripped of its
first value, which is the name of this task. The remaining args are
used to instantiate the configuration. This operation should never
fail since the configuration will have been instantiated previous in
an identical way. Once instantiated, search for an ALL_GROUPS
definition.private Object getGroups(Configuration conf)
initialLookupGroups
in the configuration and return the array of GroupInfo
objects containing the full entry name and associated groupsconf
- the configuration to examineGroupInfo
arrayCopyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.