Package nz.org.riskscape.engine.ini
Class IniFileSecretBuilder
java.lang.Object
nz.org.riskscape.engine.ini.IniFileSecretBuilder
Almost an IdentifiedObjectBuilder for Secret, except they are added to an engine, not a project.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidBuilds the secret contained in section immediately and adds it secrets collection if there were no build errors.nz.org.riskscape.problem.ResultOrProblems<nz.org.riskscape.engine.auth.Secret>
-
Constructor Details
-
IniFileSecretBuilder
public IniFileSecretBuilder(nz.org.riskscape.engine.Engine engine)
-
-
Method Details
-
addSecret
Builds the secret contained in section immediately and adds it secrets collection if there were no build errors.
-
build
public nz.org.riskscape.problem.ResultOrProblems<nz.org.riskscape.engine.auth.Secret> build(String id, nz.org.riskscape.config.ConfigSection section)
-