Class MetadataRepositoryConfiguration
- java.lang.Object
-
- org.graalvm.buildtools.maven.config.MetadataRepositoryConfiguration
-
public class MetadataRepositoryConfiguration extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MetadataRepositoryConfiguration.DependencyConfiguration
-
Constructor Summary
Constructors Constructor Description MetadataRepositoryConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<MetadataRepositoryConfiguration.DependencyConfiguration>
getDependencies()
java.io.File
getLocalPath()
java.util.Optional<java.lang.String>
getMetadataVersion(org.apache.maven.artifact.Artifact artifact)
java.net.URL
getUrl()
java.lang.String
getVersion()
boolean
isArtifactExcluded(org.apache.maven.artifact.Artifact artifact)
boolean
isEnabled()
void
setDependencies(java.util.List<MetadataRepositoryConfiguration.DependencyConfiguration> dependencies)
void
setEnabled(boolean enabled)
void
setLocalPath(java.io.File localPath)
void
setUrl(java.net.URL url)
void
setVersion(java.lang.String version)
-
-
-
Method Detail
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(boolean enabled)
-
getVersion
public java.lang.String getVersion()
-
setVersion
public void setVersion(java.lang.String version)
-
getLocalPath
public java.io.File getLocalPath()
-
setLocalPath
public void setLocalPath(java.io.File localPath)
-
getUrl
public java.net.URL getUrl()
-
setUrl
public void setUrl(java.net.URL url)
-
getDependencies
public java.util.List<MetadataRepositoryConfiguration.DependencyConfiguration> getDependencies()
-
setDependencies
public void setDependencies(java.util.List<MetadataRepositoryConfiguration.DependencyConfiguration> dependencies)
-
isArtifactExcluded
public boolean isArtifactExcluded(org.apache.maven.artifact.Artifact artifact)
-
getMetadataVersion
public java.util.Optional<java.lang.String> getMetadataVersion(org.apache.maven.artifact.Artifact artifact)
-
-