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 java.lang.Object
implements PlexusIoResourceAttributes


Constructor Summary
SimpleResourceAttributes()
           
SimpleResourceAttributes(int uid, java.lang.String userName, int gid, java.lang.String groupName, int mode)
           
 
Method Summary
 int getGroupId()
           
 java.lang.String getGroupName()
           
 int getOctalMode()
           
 java.lang.String getOctalModeString()
           
 int getUserId()
           
 java.lang.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(int gid)
           
 PlexusIoResourceAttributes setGroupName(java.lang.String name)
           
 PlexusIoResourceAttributes setGroupReadable(boolean flag)
           
 PlexusIoResourceAttributes setGroupWritable(boolean flag)
           
 PlexusIoResourceAttributes setOctalMode(int mode)
           
 PlexusIoResourceAttributes setOctalModeString(java.lang.String mode)
           
 PlexusIoResourceAttributes setOwnerExecutable(boolean flag)
           
 PlexusIoResourceAttributes setOwnerReadable(boolean flag)
           
 PlexusIoResourceAttributes setOwnerWritable(boolean flag)
           
 PlexusIoResourceAttributes setUserId(int uid)
           
 PlexusIoResourceAttributes setUserName(java.lang.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(int uid,
                                java.lang.String userName,
                                int gid,
                                java.lang.String groupName,
                                int mode)

SimpleResourceAttributes

public SimpleResourceAttributes()
Method Detail

getOctalMode

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

getGroupId

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

getGroupName

public java.lang.String getGroupName()
Specified by:
getGroupName in interface PlexusIoResourceAttributes

getUserId

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

getUserName

public java.lang.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 java.lang.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(int gid)
Specified by:
setGroupId in interface PlexusIoResourceAttributes

setGroupName

public PlexusIoResourceAttributes setGroupName(java.lang.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(int uid)
Specified by:
setUserId in interface PlexusIoResourceAttributes

setUserName

public PlexusIoResourceAttributes setUserName(java.lang.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(java.lang.String mode)
Specified by:
setOctalModeString in interface PlexusIoResourceAttributes


Copyright © 2001-2009 Codehaus. All Rights Reserved.