public class PathsPromoteRequest extends Object implements PromoteRequest<PathsPromoteRequest>
StoreKey's). If paths are provided, only
promote a subset of the content in the source store, otherwise promote all.| Constructor and Description |
|---|
PathsPromoteRequest() |
PathsPromoteRequest(org.commonjava.indy.model.core.StoreKey source,
org.commonjava.indy.model.core.StoreKey target,
Set<String> paths) |
PathsPromoteRequest(org.commonjava.indy.model.core.StoreKey source,
org.commonjava.indy.model.core.StoreKey target,
String... paths) |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getPaths() |
org.commonjava.indy.model.core.StoreKey |
getSource() |
org.commonjava.indy.model.core.StoreKey |
getTarget() |
org.commonjava.indy.model.core.StoreKey |
getTargetKey() |
boolean |
isDryRun() |
boolean |
isPurgeSource() |
PathsPromoteRequest |
setDryRun(boolean dryRun) |
PathsPromoteRequest |
setPaths(Set<String> paths) |
PathsPromoteRequest |
setPurgeSource(boolean purgeSource) |
PathsPromoteRequest |
setSource(org.commonjava.indy.model.core.StoreKey source) |
PathsPromoteRequest |
setTarget(org.commonjava.indy.model.core.StoreKey target) |
String |
toString() |
public PathsPromoteRequest()
public PathsPromoteRequest(org.commonjava.indy.model.core.StoreKey source,
org.commonjava.indy.model.core.StoreKey target,
Set<String> paths)
public PathsPromoteRequest(org.commonjava.indy.model.core.StoreKey source,
org.commonjava.indy.model.core.StoreKey target,
String... paths)
public org.commonjava.indy.model.core.StoreKey getSource()
getSource in interface PromoteRequest<PathsPromoteRequest>public PathsPromoteRequest setSource(org.commonjava.indy.model.core.StoreKey source)
setSource in interface PromoteRequest<PathsPromoteRequest>public org.commonjava.indy.model.core.StoreKey getTargetKey()
getTargetKey in interface PromoteRequest<PathsPromoteRequest>public org.commonjava.indy.model.core.StoreKey getTarget()
public PathsPromoteRequest setTarget(org.commonjava.indy.model.core.StoreKey target)
public PathsPromoteRequest setPaths(Set<String> paths)
public PathsPromoteRequest setPurgeSource(boolean purgeSource)
public boolean isPurgeSource()
public boolean isDryRun()
isDryRun in interface PromoteRequest<PathsPromoteRequest>public PathsPromoteRequest setDryRun(boolean dryRun)
setDryRun in interface PromoteRequest<PathsPromoteRequest>Copyright © 2011-2016. All Rights Reserved.