Class InputMapper
java.lang.Object
com.perforce.p4java.impl.generic.core.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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmap(IProtectionsTable protectionsTable) Map a list of P4Java IProtectionEntry object to an IServer input map.map(ITriggersTable triggersTable) Map a list of P4Java ITriggerEntry object to an IServer input map.Map a P4Java client object to an IServer input map.map(IBranchSpec branchSpec) map(IChangelist change) Map a P4Java changelist to an IServer input map.map(IChangelist change, boolean allowUnknownFiles) Map a P4Java changelist to an IServer input map.map(IExtension extensionSpec) Map a P4Java label object to an IServer input map.Map a P4Java stream object to an IServer input map.Map a P4Java IUsers object to an IServer input map.map(IUserGroup group, IServer server) Map a P4Java IUserGroup object to an IServer input map.
-
Field Details
-
DATE_PATTERN
- See Also:
-
-
Constructor Details
-
InputMapper
public InputMapper()
-
-
Method Details
-
map
Map a P4Java changelist to an IServer input map.- Parameters:
change- candidate changelistallowUnknownFiles- unknown files?- Returns:
- non-null map suitable for use with execMapCmd
-
map
Map a P4Java changelist to an IServer input map.- Parameters:
change- candidate changelist- Returns:
- non-null map suitable for use with execMapCmd
-
map
Map a P4Java client object to an IServer input map.- Parameters:
client- candidate client- Returns:
- non-null map suitable for use with execMapCmd
-
map
Map a P4Java label object to an IServer input map.- Parameters:
label- candidate label- Returns:
- non-null map suitable for use with execMapCmd
-
map
Map a P4Java IUsers object to an IServer input map.- Parameters:
user- candidate user object- Returns:
- non-null map suitable for use with execMapCmd
-
map
Map a P4Java IUserGroup object to an IServer input map.- Parameters:
group- candidate user group objectserver- version of p4d server- Returns:
- non-null map suitable for use with execMapCmd
- Throws:
ConnectionException
-
map
-
map
-
map
Map a list of P4Java IProtectionEntry object to an IServer input map.- Parameters:
protectionsTable- table - list of protection entries- Returns:
- non-null map suitable for use with execMapCmd
-
map
Map a P4Java stream object to an IServer input map.- Parameters:
stream- candidate streamserver- server- Returns:
- non-null map suitable for use with execMapCmd
- Throws:
P4JavaException- on error
-
map
Map a list of P4Java ITriggerEntry object to an IServer input map.- Parameters:
triggersTable- table - list of trigger entries- Returns:
- non-null map suitable for use with execMapCmd
-
map
-
map
-