@Immutable public class DeployHostsContext<T> extends Object
Constructor and Description |
---|
DeployHostsContext(T it,
List<? extends DeployHost<?,?>> hosts,
Job<?,?> project,
Set<DeploySourceOrigin> origins,
boolean fromWorkspace,
boolean usersAuth) |
Modifier and Type | Method and Description |
---|---|
List<DeployHostDescriptor<?,?>> |
getDescriptors()
Convenience method to make setting up the hetero-list easier.
|
List<? extends DeployHost<?,?>> |
getHosts() |
T |
getIt() |
Set<DeploySourceOrigin> |
getOrigins() |
Job<?,?> |
getProject() |
boolean |
isFromWorkspace() |
boolean |
isUsersAuth() |
String |
toString() |
public DeployHostsContext(@NonNull T it, @NonNull List<? extends DeployHost<?,?>> hosts, @CheckForNull Job<?,?> project, @NonNull Set<DeploySourceOrigin> origins, boolean fromWorkspace, boolean usersAuth)
public boolean isUsersAuth()
@CheckForNull public Job<?,?> getProject()
@NonNull public Set<DeploySourceOrigin> getOrigins()
@NonNull public T getIt()
public boolean isFromWorkspace()
@NonNull public List<? extends DeployHost<?,?>> getHosts()
public List<DeployHostDescriptor<?,?>> getDescriptors()
DeployHost
descriptors.Copyright © 2016–2022. All rights reserved.