de.tsl2.nano.specification.documentconsumer.SpecificationExchangeConsumer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tsl2.nano.specification Show documentation
Show all versions of tsl2.nano.specification Show documentation
TSL2 Framework Specification (Pools of descripted and runnable Actions and Rules, Generic Tree)
The newest version!
package de.tsl2.nano.specification.documentconsumer;
import java.io.File;
import java.util.function.Consumer;
import de.tsl2.nano.core.ENV;
import de.tsl2.nano.core.util.FilePath;
import de.tsl2.nano.specification.SpecificationExchange;
public class SpecificationExchangeConsumer implements Consumer {
@Override
public void accept(File t) {
FilePath.copy(t.getAbsolutePath(), ENV.getConfigPath() + SpecificationExchange.FILENAME_SPEC_PROPERTIES);
ENV.get(SpecificationExchange.class).enrichFromSpecificationProperties();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy