public class SimpleResourceAttributes extends Object implements PlexusIoResourceAttributes
UNKNOWN_OCTAL_MODE| Constructor and Description |
|---|
SimpleResourceAttributes(Integer uid,
String userName,
Integer gid,
String groupName,
int mode) |
SimpleResourceAttributes(Integer uid,
String userName,
Integer gid,
String groupName,
int mode,
boolean isSymbolicLink) |
public SimpleResourceAttributes(Integer uid, String userName, Integer gid, String groupName, int mode)
public static PlexusIoResourceAttributes lastResortDummyAttributesForBrokenOS()
public int getOctalMode()
PlexusIoResourceAttributesPlexusIoResourceAttributes.UNKNOWN_OCTAL_MODE if unsupported on current file/file systemgetOctalMode in interface PlexusIoResourceAttributes@Nullable public Integer getGroupId()
PlexusIoResourceAttributesgetGroupId in interface PlexusIoResourceAttributes@Nullable public String getGroupName()
PlexusIoResourceAttributesgetGroupName in interface PlexusIoResourceAttributespublic Integer getUserId()
PlexusIoResourceAttributesgetUserId in interface PlexusIoResourceAttributespublic String getUserName()
PlexusIoResourceAttributesgetUserName in interface PlexusIoResourceAttributespublic boolean isGroupExecutable()
isGroupExecutable in interface PlexusIoResourceAttributespublic boolean isGroupReadable()
isGroupReadable in interface PlexusIoResourceAttributespublic boolean isGroupWritable()
isGroupWritable in interface PlexusIoResourceAttributespublic boolean isOwnerExecutable()
isOwnerExecutable in interface PlexusIoResourceAttributespublic boolean isOwnerReadable()
isOwnerReadable in interface PlexusIoResourceAttributespublic boolean isOwnerWritable()
isOwnerWritable in interface PlexusIoResourceAttributespublic boolean isWorldExecutable()
isWorldExecutable in interface PlexusIoResourceAttributespublic boolean isWorldReadable()
isWorldReadable in interface PlexusIoResourceAttributespublic boolean isWorldWritable()
isWorldWritable in interface PlexusIoResourceAttributespublic String getOctalModeString()
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 void setSymbolicLink(boolean isSymbolicLink)
public boolean isSymbolicLink()
PlexusIoResourceAttributesisSymbolicLink in interface PlexusIoResourceAttributesCopyright © 2001–2023 Codehaus Plexus. All rights reserved.