|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.perforce.p4java.impl.generic.core.InputMapper
public class InputMapper
A useful class with methods to map certain classes to maps suitable for feeding to the IServer execMapCmd method's input map. Use of these methods outside their very limited initial applications is not guaranteed to work...
Field Summary | |
---|---|
static String |
DATE_PATTERN
|
Constructor Summary | |
---|---|
InputMapper()
|
Method Summary | |
---|---|
static Map<String,Object> |
map(IBranchSpec branchSpec)
|
static Map<String,Object> |
map(IChangelist change)
Map a P4Java changelist to an IServer input map. |
static Map<String,Object> |
map(IChangelist change,
boolean allowUnknownFiles)
Map a P4Java changelist to an IServer input map. |
static Map<String,Object> |
map(IClient client)
Map a P4Java client object to an IServer input map. |
static Map<String,Object> |
map(IDepot depotSpec)
|
static Map<String,Object> |
map(ILabel label)
Map a P4Java label object to an IServer input map. |
static Map<String,Object> |
map(IProtectionsTable protectionsTable)
Map a list of P4Java IProtectionEntry object to an IServer input map. |
static Map<String,Object> |
map(IStream stream)
Map a P4Java stream object to an IServer input map. |
static Map<String,Object> |
map(ITriggersTable triggersTable)
Map a list of P4Java ITriggerEntry object to an IServer input map. |
static Map<String,Object> |
map(IUser user)
Map a P4Java IUsers object to an IServer input map. |
static Map<String,Object> |
map(IUserGroup group)
Map a P4Java IUserGroup object to an IServer input map. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DATE_PATTERN
Constructor Detail |
---|
public InputMapper()
Method Detail |
---|
public static Map<String,Object> map(IChangelist change, boolean allowUnknownFiles)
change
- candidate changelistallowUnknownFiles
-
public static Map<String,Object> map(IChangelist change)
change
- candidate changelist
public static Map<String,Object> map(IClient client)
client
- candidate client
public static Map<String,Object> map(ILabel label)
label
- candidate label
public static Map<String,Object> map(IUser user)
user
- candidate user object
public static Map<String,Object> map(IUserGroup group)
group
- candidate user group object
public static Map<String,Object> map(IBranchSpec branchSpec)
public static Map<String,Object> map(IDepot depotSpec)
public static Map<String,Object> map(IProtectionsTable protectionsTable)
protections
- table - list of protection entries
public static Map<String,Object> map(IStream stream)
stream
- candidate stream
public static Map<String,Object> map(ITriggersTable triggersTable)
triggers
- table - list of trigger entries
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |