类 RepositoryConfiguration
- java.lang.Object
- org.springframework.boot.cli.compiler.grape.RepositoryConfiguration
public final class RepositoryConfiguration extends Object
The configuration of a repository.
构造器概要
构造器 构造器 说明 RepositoryConfiguration(String name, URI uri, boolean snapshotsEnabled)
Creates a newRepositoryConfiguration
instance.
构造器详细资料
RepositoryConfiguration
public RepositoryConfiguration(String name, URI uri, boolean snapshotsEnabled)
Creates a newRepositoryConfiguration
instance.- 参数:
name
- the name of the repositoryuri
- the uri of the repositorysnapshotsEnabled
-true
if the repository should enable access to snapshots,false
otherwise
方法详细资料
getSnapshotsEnabled
public boolean getSnapshotsEnabled()
Return if the repository should enable access to snapshots.- 返回:
true
if snapshot access is enabled