public class SimpleResourceAttributes extends Object implements PlexusIoResourceAttributes
Constructor and Description |
---|
SimpleResourceAttributes(Integer uid,
String userName,
Integer gid,
String groupName,
int mode) |
Modifier and Type | Method and Description |
---|---|
Integer |
getGroupId()
Gets the unix group id.
|
String |
getGroupName() |
int |
getOctalMode() |
String |
getOctalModeString() |
Integer |
getUserId()
Gets the unix user id.
|
String |
getUserName() |
boolean |
isGroupExecutable() |
boolean |
isGroupReadable() |
boolean |
isGroupWritable() |
boolean |
isOwnerExecutable() |
boolean |
isOwnerReadable() |
boolean |
isOwnerWritable() |
boolean |
isSymbolicLink()
Indicates if this is a symnbolic link element.
|
boolean |
isWorldExecutable() |
boolean |
isWorldReadable() |
boolean |
isWorldWritable() |
PlexusIoResourceAttributes |
setGroupId(Integer gid) |
PlexusIoResourceAttributes |
setGroupName(String name) |
PlexusIoResourceAttributes |
setOctalMode(int mode) |
PlexusIoResourceAttributes |
setOctalModeString(String mode) |
PlexusIoResourceAttributes |
setUserId(Integer uid) |
PlexusIoResourceAttributes |
setUserName(String name) |
String |
toString() |
public int getOctalMode()
getOctalMode
in interface PlexusIoResourceAttributes
public Integer getGroupId()
PlexusIoResourceAttributes
getGroupId
in interface PlexusIoResourceAttributes
public String getGroupName()
getGroupName
in interface PlexusIoResourceAttributes
public Integer getUserId()
PlexusIoResourceAttributes
getUserId
in interface PlexusIoResourceAttributes
public String getUserName()
getUserName
in interface PlexusIoResourceAttributes
public boolean isGroupExecutable()
isGroupExecutable
in interface PlexusIoResourceAttributes
public boolean isGroupReadable()
isGroupReadable
in interface PlexusIoResourceAttributes
public boolean isGroupWritable()
isGroupWritable
in interface PlexusIoResourceAttributes
public boolean isOwnerExecutable()
isOwnerExecutable
in interface PlexusIoResourceAttributes
public boolean isOwnerReadable()
isOwnerReadable
in interface PlexusIoResourceAttributes
public boolean isOwnerWritable()
isOwnerWritable
in interface PlexusIoResourceAttributes
public boolean isWorldExecutable()
isWorldExecutable
in interface PlexusIoResourceAttributes
public boolean isWorldReadable()
isWorldReadable
in interface PlexusIoResourceAttributes
public boolean isWorldWritable()
isWorldWritable
in interface PlexusIoResourceAttributes
public String getOctalModeString()
getOctalModeString
in interface PlexusIoResourceAttributes
public PlexusIoResourceAttributes setOctalMode(int mode)
public PlexusIoResourceAttributes setGroupId(Integer gid)
public PlexusIoResourceAttributes setGroupName(String name)
public PlexusIoResourceAttributes setUserId(Integer uid)
public PlexusIoResourceAttributes setUserName(String name)
public PlexusIoResourceAttributes setOctalModeString(String mode)
public boolean isSymbolicLink()
PlexusIoResourceAttributes
isSymbolicLink
in interface PlexusIoResourceAttributes
Copyright © 2001-2014 Codehaus. All Rights Reserved.