public class Deployment extends Descriptor
| Modifier and Type | Class and Description |
|---|---|
static class |
Deployment.Builder |
| Modifier and Type | Field and Description |
|---|---|
static String |
EMTPY_DEPLOYER_USER |
| Constructor and Description |
|---|
Deployment(JobId jobId,
Goal goal,
String deployerUser)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getDeployerUser() |
Goal |
getGoal() |
JobId |
getJobId() |
int |
hashCode() |
static Deployment.Builder |
newBuilder() |
static Deployment |
of(JobId jobId,
Goal goal) |
static Deployment |
of(JobId jobId,
Goal goal,
String deployerUser) |
Deployment.Builder |
toBuilder() |
String |
toString() |
parse, parse, toJsonBytes, toJsonStringpublic static final String EMTPY_DEPLOYER_USER
public static Deployment of(JobId jobId, Goal goal)
public static Deployment of(JobId jobId, Goal goal, String deployerUser)
public JobId getJobId()
public Goal getGoal()
public String getDeployerUser()
public Deployment.Builder toBuilder()
public static Deployment.Builder newBuilder()
Copyright © 2015. All rights reserved.