|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.perforce.p4java.impl.generic.admin.ProtectionEntry
public class ProtectionEntry
Default IProtectionEntry implementation class.
| Constructor Summary | |
|---|---|
ProtectionEntry()
Default constructor -- sets all fields to null, zero, or false. |
|
ProtectionEntry(int order,
String mode,
boolean group,
String host,
String name,
String path,
boolean pathExcluded)
Explicit-value constructor. |
|
ProtectionEntry(Map<String,Object> map,
int order)
Constructs a ProtectionEntry from the passed-in map; this map must have come from a Perforce IServer method call or it may fail. |
|
| Method Summary | |
|---|---|
String |
getHost()
|
String |
getMode()
|
String |
getName()
|
int |
getOrder()
|
String |
getPath()
|
boolean |
isGroup()
|
boolean |
isPathExcluded()
|
void |
setGroup(boolean group)
|
void |
setHost(String host)
|
void |
setMode(String mode)
|
void |
setName(String name)
|
void |
setOrder(int order)
|
void |
setPath(String path)
|
void |
setPathExcluded(boolean pathExcluded)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProtectionEntry()
public ProtectionEntry(int order,
String mode,
boolean group,
String host,
String name,
String path,
boolean pathExcluded)
public ProtectionEntry(Map<String,Object> map,
int order)
| Method Detail |
|---|
public String getHost()
getHost in interface IProtectionEntryIProtectionEntry.getHost()public String getMode()
getMode in interface IProtectionEntryIProtectionEntry.getMode()public String getName()
getName in interface IProtectionEntryIProtectionEntry.getName()public int getOrder()
getOrder in interface IProtectionEntryIProtectionEntry.getOrder()public String getPath()
getPath in interface IProtectionEntryIProtectionEntry.getPath()public boolean isGroup()
isGroup in interface IProtectionEntryIProtectionEntry.isGroup()public void setGroup(boolean group)
setGroup in interface IProtectionEntryIProtectionEntry.setGroup(boolean)public void setHost(String host)
setHost in interface IProtectionEntryIProtectionEntry.setHost(java.lang.String)public void setMode(String mode)
setMode in interface IProtectionEntryIProtectionEntry.setMode(java.lang.String)public void setName(String name)
setName in interface IProtectionEntryIProtectionEntry.setName(java.lang.String)public void setOrder(int order)
setOrder in interface IProtectionEntryIProtectionEntry.setOrder(int)public void setPath(String path)
setPath in interface IProtectionEntryIProtectionEntry.setPath(java.lang.String)public boolean isPathExcluded()
isPathExcluded in interface IProtectionEntryIProtectionEntry.isPathExcluded()public void setPathExcluded(boolean pathExcluded)
setPathExcluded in interface IProtectionEntryIProtectionEntry.setPathExcluded(boolean)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||