public final class JkDepExclude
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getExt()
Returns the getExtension for the artifact files to exclude.
|
JkModuleId |
getModuleId()
Returns the module id to exclude.
|
java.util.Set<JkScope> |
getScopes()
Returns the scopes that render the exclusion effective.
|
java.lang.String |
getType()
Returns the type of the artifact file to exclude.
|
static JkDepExclude |
of(JkModuleId moduleId)
Creates an exclusion of the specified module.
|
static JkDepExclude |
of(java.lang.String groupAndName)
Creates an exclusion of the specified module.
|
static JkDepExclude |
of(java.lang.String group,
java.lang.String name)
Creates an exclusion of the specified module.
|
JkDepExclude |
withExt(java.lang.String extension)
Returns an exclusion identical to this one but with the specified getExtension.
|
JkDepExclude |
withScopes(JkScope... scopes)
Returns a exclusion identical to this one but narrowed to the specified scopes.
|
JkDepExclude |
withType(java.lang.String typeArg)
Returns an exclusion identical to this one but with the specified type.
|
public static JkDepExclude of(JkModuleId moduleId)
public static JkDepExclude of(java.lang.String group, java.lang.String name)
public static JkDepExclude of(java.lang.String groupAndName)
public JkDepExclude withType(java.lang.String typeArg)
public JkDepExclude withExt(java.lang.String extension)
public JkDepExclude withScopes(JkScope... scopes)
public JkModuleId getModuleId()
public java.lang.String getType()
public java.lang.String getExt()
null
only file artifact having this getExtension will be effectively excluded.public java.util.Set<JkScope> getScopes()
withScopes(JkScope...)