public static class JkRepo.JkPublishConfig
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.String> |
getChecksumAlgos() |
JkPublishFilter |
getFilter()
Returns the filter used for this
JkRepo.JkPublishConfig . |
boolean |
isSignatureRequired() |
boolean |
isUniqueSnapshot() |
static JkRepo.JkPublishConfig |
of() |
static JkRepo.JkPublishConfig |
ofReleaseOnly(boolean needSignature)
Creates a
JkRepo.JkPublishConfig for publishing non-snapshot version on the specified JkRepo . |
static JkRepo.JkPublishConfig |
ofSnapshotOnly(boolean uniqueSnapshot)
Creates a
JkRepo.JkPublishConfig for publishing snapshot version on the specified JkRepo . |
JkRepo.JkPublishConfig |
withChecksumAlgos(java.lang.String... algos) |
JkRepo.JkPublishConfig |
withFilter(JkPublishFilter filter) |
JkRepo.JkPublishConfig |
withNeedSignature(boolean needSignature) |
JkRepo.JkPublishConfig |
withUniqueSnapshot(boolean uniqueSnapshot) |
public static JkRepo.JkPublishConfig of()
public static JkRepo.JkPublishConfig ofSnapshotOnly(boolean uniqueSnapshot)
JkRepo.JkPublishConfig
for publishing snapshot version on the specified JkRepo
.
Release versions are not publishable on this JkRepo.JkPublishConfig
public static JkRepo.JkPublishConfig ofReleaseOnly(boolean needSignature)
JkRepo.JkPublishConfig
for publishing non-snapshot version on the specified JkRepo
.
Snapshot versions are not publishable on this JkRepo.JkPublishConfig
public JkPublishFilter getFilter()
JkRepo.JkPublishConfig
.
Only modules accepted by this filter will pb published on this repo.public boolean isSignatureRequired()
public boolean isUniqueSnapshot()
public java.util.Set<java.lang.String> getChecksumAlgos()
public JkRepo.JkPublishConfig withUniqueSnapshot(boolean uniqueSnapshot)
public JkRepo.JkPublishConfig withNeedSignature(boolean needSignature)
public JkRepo.JkPublishConfig withFilter(JkPublishFilter filter)
public JkRepo.JkPublishConfig withChecksumAlgos(java.lang.String... algos)