public class Requirements extends Object
Requirements
.Modifier and Type | Field and Description |
---|---|
static Requirements |
EMPTY |
Constructor and Description |
---|
Requirements(Set<String> datasetTypes)
Creates a
Requirements object from the given Set . |
Requirements(Set<String> datasetTypes,
Set<String> capabilities) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Set<String> |
getCapabilities() |
Set<String> |
getDatasetTypes() |
int |
hashCode() |
boolean |
isEmpty() |
String |
toString() |
public static final Requirements EMPTY
public Requirements(Set<String> datasetTypes)
Requirements
object from the given Set
. Note: Requirements are case
insensitive and all the requisites will be converted into lowercase.datasetTypes
- a Set
containing dataset type requirementspublic Set<String> getDatasetTypes()
Set
containing the dataset type requirement which can be be empty if there are
no requirementspublic Set<String> getCapabilities()
Set
containing capability names or empty setpublic boolean isEmpty()
Copyright © 2024 Cask Data, Inc. Licensed under the Apache License, Version 2.0.