Package com.optum.sourcehawk.exec
Class ExecOptions
- java.lang.Object
-
- com.optum.sourcehawk.exec.ExecOptions
-
public final class ExecOptions extends Object
Execution options to be evaluated- Author:
- Brian Wyka
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExecOptions.ExecOptionsBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExecOptions.ExecOptionsBuilderbuilder()booleanequals(Object o)@NonNull StringgetConfigurationFileLocation()The location of the configuration file, can be on the file system or a URL@NonNull OutputFormatgetOutputFormat()The scan output formatRemoteRefgetRemoteRef()The remote reference@NonNull RepositoryFileReadergetRepositoryFileReader()Repository file reader@NonNull PathgetRepositoryRoot()The root of the repository in which files will be resolved relatively to@NonNull Collection<String>getTags()The tags to filter the execution scope@NonNull VerbositygetVerbosity()The output verbosityinthashCode()booleanisFailOnWarnings()Whether or not to fail on warningsExecOptions.ExecOptionsBuildertoBuilder()StringtoString()Print a string representation of the exec options
-
-
-
Method Detail
-
toString
public String toString()
Print a string representation of the exec options
-
builder
public static ExecOptions.ExecOptionsBuilder builder()
-
toBuilder
public ExecOptions.ExecOptionsBuilder toBuilder()
-
getRepositoryRoot
@NonNull public @NonNull Path getRepositoryRoot()
The root of the repository in which files will be resolved relatively to
-
getTags
@NonNull public @NonNull Collection<String> getTags()
The tags to filter the execution scope
-
getVerbosity
@NonNull public @NonNull Verbosity getVerbosity()
The output verbosity
-
getConfigurationFileLocation
@NonNull public @NonNull String getConfigurationFileLocation()
The location of the configuration file, can be on the file system or a URL
-
getOutputFormat
@NonNull public @NonNull OutputFormat getOutputFormat()
The scan output format
-
isFailOnWarnings
public boolean isFailOnWarnings()
Whether or not to fail on warnings
-
getRepositoryFileReader
@NonNull public @NonNull RepositoryFileReader getRepositoryFileReader()
Repository file reader
-
getRemoteRef
public RemoteRef getRemoteRef()
The remote reference
-
-