Package org.jenkinsci.plugins.p4.groovy
Class P4Groovy
- java.lang.Object
-
- org.jenkinsci.plugins.p4.groovy.P4Groovy
-
- All Implemented Interfaces:
Serializable
public class P4Groovy extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
P4Groovy(P4BaseCredentials credential, TaskListener listener, Workspace workspace, FilePath buildWorkspace)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Map<String,Object>
fetch(String type, String id)
String
getClientName()
String
getUserName()
Map<String,Object>[]
run(String cmd, String... args)
Map<String,Object>[]
run(String cmd, List<String> args)
Map<String,Object>[]
runString(String cmd, String args)
Deprecated.Map<String,Object>[]
save(String type, Map<String,Object> spec)
Map<String,Object>[]
save(String type, Map<String,Object> spec, String... args)
Map<String,Object>[]
save(String type, Map<String,Object> spec, List<String> list)
-
-
-
Constructor Detail
-
P4Groovy
protected P4Groovy(P4BaseCredentials credential, TaskListener listener, Workspace workspace, FilePath buildWorkspace)
-
-
Method Detail
-
getClientName
public String getClientName()
-
runString
@Deprecated public Map<String,Object>[] runString(String cmd, String args) throws com.perforce.p4java.exception.P4JavaException, InterruptedException, IOException
Deprecated.- Throws:
com.perforce.p4java.exception.P4JavaException
InterruptedException
IOException
-
run
public Map<String,Object>[] run(String cmd, String... args) throws com.perforce.p4java.exception.P4JavaException, InterruptedException, IOException
- Throws:
com.perforce.p4java.exception.P4JavaException
InterruptedException
IOException
-
run
public Map<String,Object>[] run(String cmd, List<String> args) throws com.perforce.p4java.exception.P4JavaException, InterruptedException, IOException
- Throws:
com.perforce.p4java.exception.P4JavaException
InterruptedException
IOException
-
save
public Map<String,Object>[] save(String type, Map<String,Object> spec) throws com.perforce.p4java.exception.P4JavaException, InterruptedException, IOException
- Throws:
com.perforce.p4java.exception.P4JavaException
InterruptedException
IOException
-
save
public Map<String,Object>[] save(String type, Map<String,Object> spec, List<String> list) throws com.perforce.p4java.exception.P4JavaException, InterruptedException, IOException
- Throws:
com.perforce.p4java.exception.P4JavaException
InterruptedException
IOException
-
save
public Map<String,Object>[] save(String type, Map<String,Object> spec, String... args) throws com.perforce.p4java.exception.P4JavaException, InterruptedException, IOException
- Throws:
com.perforce.p4java.exception.P4JavaException
InterruptedException
IOException
-
fetch
public Map<String,Object> fetch(String type, String id) throws com.perforce.p4java.exception.P4JavaException, InterruptedException, IOException
- Throws:
com.perforce.p4java.exception.P4JavaException
InterruptedException
IOException
-
-