org.codehaus.plexus.components.io.attributes
Class SimpleResourceAttributes

java.lang.Object
  extended by org.codehaus.plexus.components.io.attributes.SimpleResourceAttributes
All Implemented Interfaces:
PlexusIoResourceAttributes

public class SimpleResourceAttributes
extends Object
implements PlexusIoResourceAttributes


Constructor Summary
SimpleResourceAttributes()
           
SimpleResourceAttributes(Integer uid, String userName, Integer gid, String groupName, int mode)
           
 
Method Summary
 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 isWorldExecutable()
           
 boolean isWorldReadable()
           
 boolean isWorldWritable()
           
 PlexusIoResourceAttributes setGroupExecutable(boolean flag)
           
 PlexusIoResourceAttributes setGroupId(Integer gid)
           
 PlexusIoResourceAttributes setGroupName(String name)
           
 PlexusIoResourceAttributes setGroupReadable(boolean flag)
           
 PlexusIoResourceAttributes setGroupWritable(boolean flag)
           
 PlexusIoResourceAttributes setOctalMode(int mode)
           
 PlexusIoResourceAttributes setOctalModeString(String mode)
           
 PlexusIoResourceAttributes setOwnerExecutable(boolean flag)
           
 PlexusIoResourceAttributes setOwnerReadable(boolean flag)
           
 PlexusIoResourceAttributes setOwnerWritable(boolean flag)
           
 PlexusIoResourceAttributes setUserId(Integer uid)
           
 PlexusIoResourceAttributes setUserName(String name)
           
 PlexusIoResourceAttributes setWorldExecutable(boolean flag)
           
 PlexusIoResourceAttributes setWorldReadable(boolean flag)
           
 PlexusIoResourceAttributes setWorldWritable(boolean flag)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleResourceAttributes

public SimpleResourceAttributes(Integer uid,
                                String userName,
                                Integer gid,
                                String groupName,
                                int mode)

SimpleResourceAttributes

public SimpleResourceAttributes()
Method Detail

getOctalMode

public int getOctalMode()
Specified by:
getOctalMode in interface PlexusIoResourceAttributes

getGroupId

public Integer getGroupId()
Description copied from interface: PlexusIoResourceAttributes
Gets the unix group id.

Specified by:
getGroupId in interface PlexusIoResourceAttributes
Returns:
The unix group id, may be null ("not set"), even on unix

getGroupName

public String getGroupName()
Specified by:
getGroupName in interface PlexusIoResourceAttributes

getUserId

public Integer getUserId()
Description copied from interface: PlexusIoResourceAttributes
Gets the unix user id.

Specified by:
getUserId in interface PlexusIoResourceAttributes
Returns:
The unix user id, may be null ("not set"), even on unix

getUserName

public String getUserName()
Specified by:
getUserName in interface PlexusIoResourceAttributes

isGroupExecutable

public boolean isGroupExecutable()
Specified by:
isGroupExecutable in interface PlexusIoResourceAttributes

isGroupReadable

public boolean isGroupReadable()
Specified by:
isGroupReadable in interface PlexusIoResourceAttributes

isGroupWritable

public boolean isGroupWritable()
Specified by:
isGroupWritable in interface PlexusIoResourceAttributes

isOwnerExecutable

public boolean isOwnerExecutable()
Specified by:
isOwnerExecutable in interface PlexusIoResourceAttributes

isOwnerReadable

public boolean isOwnerReadable()
Specified by:
isOwnerReadable in interface PlexusIoResourceAttributes

isOwnerWritable

public boolean isOwnerWritable()
Specified by:
isOwnerWritable in interface PlexusIoResourceAttributes

isWorldExecutable

public boolean isWorldExecutable()
Specified by:
isWorldExecutable in interface PlexusIoResourceAttributes

isWorldReadable

public boolean isWorldReadable()
Specified by:
isWorldReadable in interface PlexusIoResourceAttributes

isWorldWritable

public boolean isWorldWritable()
Specified by:
isWorldWritable in interface PlexusIoResourceAttributes

getOctalModeString

public String getOctalModeString()
Specified by:
getOctalModeString in interface PlexusIoResourceAttributes

setOctalMode

public PlexusIoResourceAttributes setOctalMode(int mode)
Specified by:
setOctalMode in interface PlexusIoResourceAttributes

setGroupExecutable

public PlexusIoResourceAttributes setGroupExecutable(boolean flag)
Specified by:
setGroupExecutable in interface PlexusIoResourceAttributes

setGroupId

public PlexusIoResourceAttributes setGroupId(Integer gid)
Specified by:
setGroupId in interface PlexusIoResourceAttributes

setGroupName

public PlexusIoResourceAttributes setGroupName(String name)
Specified by:
setGroupName in interface PlexusIoResourceAttributes

setGroupReadable

public PlexusIoResourceAttributes setGroupReadable(boolean flag)
Specified by:
setGroupReadable in interface PlexusIoResourceAttributes

setGroupWritable

public PlexusIoResourceAttributes setGroupWritable(boolean flag)
Specified by:
setGroupWritable in interface PlexusIoResourceAttributes

setOwnerExecutable

public PlexusIoResourceAttributes setOwnerExecutable(boolean flag)
Specified by:
setOwnerExecutable in interface PlexusIoResourceAttributes

setOwnerReadable

public PlexusIoResourceAttributes setOwnerReadable(boolean flag)
Specified by:
setOwnerReadable in interface PlexusIoResourceAttributes

setOwnerWritable

public PlexusIoResourceAttributes setOwnerWritable(boolean flag)
Specified by:
setOwnerWritable in interface PlexusIoResourceAttributes

setUserId

public PlexusIoResourceAttributes setUserId(Integer uid)
Specified by:
setUserId in interface PlexusIoResourceAttributes

setUserName

public PlexusIoResourceAttributes setUserName(String name)
Specified by:
setUserName in interface PlexusIoResourceAttributes

setWorldExecutable

public PlexusIoResourceAttributes setWorldExecutable(boolean flag)
Specified by:
setWorldExecutable in interface PlexusIoResourceAttributes

setWorldReadable

public PlexusIoResourceAttributes setWorldReadable(boolean flag)
Specified by:
setWorldReadable in interface PlexusIoResourceAttributes

setWorldWritable

public PlexusIoResourceAttributes setWorldWritable(boolean flag)
Specified by:
setWorldWritable in interface PlexusIoResourceAttributes

setOctalModeString

public PlexusIoResourceAttributes setOctalModeString(String mode)
Specified by:
setOctalModeString in interface PlexusIoResourceAttributes


Copyright © 2001-2012 Codehaus. All Rights Reserved.