public class SimpleResourceAttributes extends Object implements PlexusIoResourceAttributes
Constructor and Description |
---|
SimpleResourceAttributes() |
SimpleResourceAttributes(Integer uid,
String userName,
Integer gid,
String groupName,
int mode) |
public SimpleResourceAttributes(Integer uid, String userName, Integer gid, String groupName, int mode)
public SimpleResourceAttributes()
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)
setOctalMode
in interface PlexusIoResourceAttributes
public PlexusIoResourceAttributes setGroupExecutable(boolean flag)
setGroupExecutable
in interface PlexusIoResourceAttributes
public PlexusIoResourceAttributes setGroupId(Integer gid)
setGroupId
in interface PlexusIoResourceAttributes
public PlexusIoResourceAttributes setGroupName(String name)
setGroupName
in interface PlexusIoResourceAttributes
public PlexusIoResourceAttributes setGroupReadable(boolean flag)
setGroupReadable
in interface PlexusIoResourceAttributes
public PlexusIoResourceAttributes setGroupWritable(boolean flag)
setGroupWritable
in interface PlexusIoResourceAttributes
public PlexusIoResourceAttributes setOwnerExecutable(boolean flag)
setOwnerExecutable
in interface PlexusIoResourceAttributes
public PlexusIoResourceAttributes setOwnerReadable(boolean flag)
setOwnerReadable
in interface PlexusIoResourceAttributes
public PlexusIoResourceAttributes setOwnerWritable(boolean flag)
setOwnerWritable
in interface PlexusIoResourceAttributes
public PlexusIoResourceAttributes setUserId(Integer uid)
setUserId
in interface PlexusIoResourceAttributes
public PlexusIoResourceAttributes setUserName(String name)
setUserName
in interface PlexusIoResourceAttributes
public PlexusIoResourceAttributes setWorldExecutable(boolean flag)
setWorldExecutable
in interface PlexusIoResourceAttributes
public PlexusIoResourceAttributes setWorldReadable(boolean flag)
setWorldReadable
in interface PlexusIoResourceAttributes
public PlexusIoResourceAttributes setWorldWritable(boolean flag)
setWorldWritable
in interface PlexusIoResourceAttributes
public PlexusIoResourceAttributes setOctalModeString(String mode)
setOctalModeString
in interface PlexusIoResourceAttributes
Copyright © 2001-2014 Codehaus. All Rights Reserved.