com.botronsoft.cmj.spitools.impl.transformation.configuration.Configuration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of configuration-manager-spi-tools Show documentation
Show all versions of configuration-manager-spi-tools Show documentation
Configuration Manager Service Provider Interface Tools
package com.botronsoft.cmj.spitools.impl.transformation.configuration;
import java.util.Optional;
import java.util.Set;
import com.botronsoft.cmj.spitools.dsl.ArgumentType;
/**
* The configuration which is extracted from an argument descriptor. See {@link ConfigurationFactory}.
*/
public class Configuration {
private final String argumentName;
private final ArgumentType argumentType;
private final ReferenceType referenceType;
private final Set literalValues;
private final Optional separator;
Configuration(String argumentName, ArgumentType argumentType, ReferenceType referenceType, Set literalValues) {
this(argumentName, argumentType, referenceType, literalValues, Optional.empty());
}
Configuration(String argumentName, ArgumentType argumentType, ReferenceType referenceType, Set literalValues,
Optional separator) {
this.argumentName = argumentName;
this.argumentType = argumentType;
this.referenceType = referenceType;
this.literalValues = literalValues;
this.separator = separator;
}
public String getArgumentName() {
return argumentName;
}
public ArgumentType getArgumentType() {
return argumentType;
}
public ReferenceType getReferenceType() {
return referenceType;
}
public Set getLiteralValues() {
return literalValues;
}
public Optional getSeparator() {
return separator;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy