public class DefaultOwnerGroupIdentifier extends java.lang.Object implements OwnerGroupIdentifier
Modifier and Type | Field and Description |
---|---|
protected static java.util.regex.Pattern |
DIR_PREFIX_PATTERN
Pattern to extract the root directory of a user directory from its ID.
|
Constructor and Description |
---|
DefaultOwnerGroupIdentifier() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getOwnerGroup(JobOwner owner)
Let's extracting the group name of the given job owner.
|
protected static final java.util.regex.Pattern DIR_PREFIX_PATTERN
public java.lang.String getOwnerGroup(JobOwner owner)
OwnerGroupIdentifier
getOwnerGroup
in interface OwnerGroupIdentifier
owner
- The job owner whose the group name must be returned.