Class SourcehawkConfiguration
- java.lang.Object
-
- com.optum.sourcehawk.core.configuration.SourcehawkConfiguration
-
public final class SourcehawkConfiguration extends Object
Root of all Sourcehawk configuration- Author:
- Brian Wyka, Christian Oestreich
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSourcehawkConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SourcehawkConfiguration.Builderbuilder()static SourcehawkConfigurationempty()Create an empty configuration instancebooleanequals(Object o)Collection<String>getConfigLocations()The remote files to inherit from in URL formCollection<FileProtocol>getFileProtocols()The file protocols that should be consideredinthashCode()static SourcehawkConfigurationof(Collection<String> configLocations, Collection<FileProtocol> fileProtocols)StringtoString()
-
-
-
Method Detail
-
empty
public static SourcehawkConfiguration empty()
Create an empty configuration instance
-
builder
public static SourcehawkConfiguration.Builder builder()
-
getConfigLocations
public Collection<String> getConfigLocations()
The remote files to inherit from in URL form
-
getFileProtocols
public Collection<FileProtocol> getFileProtocols()
The file protocols that should be considered
-
of
public static SourcehawkConfiguration of(Collection<String> configLocations, Collection<FileProtocol> fileProtocols)
-
-