public void setCompilerOptions(String... options) {
        List<CompilerOptionsProvider> compilerOptionsProviders = new ArrayList<>();
        ConfigurableStringOptionsProvider x = new ConfigurableStringOptionsProvider();
        x.setOptions(Arrays.asList(options));
        compilerOptionsProviders.add(x);
        setCompilerOptionsProviders(compilerOptionsProviders);
    }
public void setCompilerOptions ( String ... options ) { List < CompilerOptionsProvider > compilerOptionsProviders = new ArrayList < > ( ) ; ConfigurableStringOptionsProvider x = new ConfigurableStringOptionsProvider ( ) ; x . setOptions ( Arrays . asList ( options ) ) ; compilerOptionsProviders . add ( x ) ; setCompilerOptionsProviders ( compilerOptionsProviders ) ; }
Sets the list of compiler options. They are called before compiling the workflow files to append compiler
options (internally invokes {@link FileBasedWorkflowRepository#setCompilerOptionsProviders(List)}.
@param options
list of options to be set for the compiler.