public class P4Groovy extends Object implements Serializable
Constructor and Description |
---|
P4Groovy(String credential,
hudson.model.TaskListener listener,
Workspace workspace,
hudson.FilePath buildWorkspace) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
fetch(String type,
String id) |
String |
getClientName() |
String |
getUserName() |
Map<String,Object>[] |
run(String cmd,
List<String> args) |
Map<String,Object>[] |
run(String cmd,
String... args) |
Map<String,Object>[] |
runString(String cmd,
String args)
Deprecated.
|
Map<String,Object>[] |
save(String type,
Map<String,Object> spec) |
public String getClientName()
public String getUserName() throws com.perforce.p4java.exception.P4JavaException
com.perforce.p4java.exception.P4JavaException
@Deprecated public Map<String,Object>[] runString(String cmd, String args) throws com.perforce.p4java.exception.P4JavaException, InterruptedException, IOException
com.perforce.p4java.exception.P4JavaException
InterruptedException
IOException
public Map<String,Object>[] run(String cmd, String... args) throws com.perforce.p4java.exception.P4JavaException, InterruptedException, IOException
com.perforce.p4java.exception.P4JavaException
InterruptedException
IOException
public Map<String,Object>[] run(String cmd, List<String> args) throws com.perforce.p4java.exception.P4JavaException, InterruptedException, IOException
com.perforce.p4java.exception.P4JavaException
InterruptedException
IOException
public Map<String,Object>[] save(String type, Map<String,Object> spec) throws com.perforce.p4java.exception.P4JavaException, InterruptedException, IOException
com.perforce.p4java.exception.P4JavaException
InterruptedException
IOException
public Map<String,Object> fetch(String type, String id) throws com.perforce.p4java.exception.P4JavaException, InterruptedException, IOException
com.perforce.p4java.exception.P4JavaException
InterruptedException
IOException
Copyright © 2016–2017. All rights reserved.