ISpoofaxLanguageSpecConfigBuilder

public interface ISpoofaxLanguageSpecConfigBuilder extends ILanguageSpecConfigBuilder

Builder for ISpoofaxLanguageSpecConfig objects.

Methods

addBuildSteps

ISpoofaxLanguageSpecConfigBuilder addBuildSteps(Iterable<IBuildStepConfig> buildSteps)

Adds build step configurations.

Parameters:
  • buildSteps – Build step configurations.
Returns:

This builder.

addCompileDeps

ISpoofaxLanguageSpecConfigBuilder addCompileDeps(Iterable<LanguageIdentifier> dependencies)

{@inheritDoc}

addPardonedLanguages

ISpoofaxLanguageSpecConfigBuilder addPardonedLanguages(Iterable<String> contributions)

{@inheritDoc}

build

ISpoofaxLanguageSpecConfig build(FileObject rootFolder)

Builds the object.

Parameters:
  • rootFolder – The root folder.
Throws:
Returns:

The built object.

copyFrom

ISpoofaxLanguageSpecConfigBuilder copyFrom(ISpoofaxLanguageSpecConfig obj)

Copies the values from the specified object.

Parameters:
  • obj – The object to copy values from.

withBuildSteps

ISpoofaxLanguageSpecConfigBuilder withBuildSteps(Iterable<IBuildStepConfig> buildSteps)

Sets the build step configurations.

Parameters:
  • buildSteps – Build step configurations.
Returns:

This builder.

withCompileDeps

ISpoofaxLanguageSpecConfigBuilder withCompileDeps(Iterable<LanguageIdentifier> dependencies)

{@inheritDoc}

withIdentifier

ISpoofaxLanguageSpecConfigBuilder withIdentifier(LanguageIdentifier identifier)

{@inheritDoc}

withMetaborgVersion

ISpoofaxLanguageSpecConfigBuilder withMetaborgVersion(String metaborgVersion)

{@inheritDoc}

withPardonedLanguages

ISpoofaxLanguageSpecConfigBuilder withPardonedLanguages(Iterable<String> contributions)

{@inheritDoc}

withPlaceholderPostfix

ISpoofaxLanguageSpecConfigBuilder withPlaceholderPostfix(String placeholderPostfix)

Sets the placeholder postfix.

Parameters:
  • placeholderPostfix – The placeholder postfix.
Returns:

This builder.

withPlaceholderPrefix

ISpoofaxLanguageSpecConfigBuilder withPlaceholderPrefix(String placeholderPrefix)

Sets the placeholder prefix.

Parameters:
  • placeholderPrefix – The placeholder prefix.
Returns:

This builder.

withPrettyPrintLanguage

ISpoofaxLanguageSpecConfigBuilder withPrettyPrintLanguage(String prettyPrintLanguage)

Sets the language to be pretty printed.

Parameters:
  • prettyPrintLanguage – The language to be pretty printed.
Returns:

This builder.

withSdf2tableVersion

ISpoofaxLanguageSpecConfigBuilder withSdf2tableVersion(Sdf2tableVersion sdf2tableVersion)

Sets the sdf2table version.

Parameters:
  • sdf2tableVersion – The sdf2table version.
Returns:

This builder.

withSdfArgs

ISpoofaxLanguageSpecConfigBuilder withSdfArgs(Arguments args)

Sets the SDF arguments.

Parameters:
  • args – An iterable of SDF arguments.
Returns:

This builder.

withSdfExternalDef

ISpoofaxLanguageSpecConfigBuilder withSdfExternalDef(String def)

Sets the external def.

Parameters:
  • def – The external def.
Returns:

This builder.

withSdfMainFile

ISpoofaxLanguageSpecConfigBuilder withSdfMainFile(String sdfMainFile)

Sets the path to the main SDF file.

Parameters:
  • sdfMainFile – The path to the main SDF file.
Returns:

This builder.

withSdfVersion

ISpoofaxLanguageSpecConfigBuilder withSdfVersion(SdfVersion sdfversion)

Sets the SDF version.

Parameters:
  • sdfVersion – The SDF version.
Returns:

This builder.

withSourceDeps

ISpoofaxLanguageSpecConfigBuilder withSourceDeps(Iterable<LanguageIdentifier> dependencies)

{@inheritDoc}

withStrArgs

ISpoofaxLanguageSpecConfigBuilder withStrArgs(Arguments args)

Sets the Stratego arguments.

Parameters:
  • args – The Stratego arguments.
Returns:

This builder.

withStrExternalJar

ISpoofaxLanguageSpecConfigBuilder withStrExternalJar(String jar)

Sets the external JAR.

Parameters:
  • jar – The external JAR.
Returns:

This builder.

withStrExternalJarFlags

ISpoofaxLanguageSpecConfigBuilder withStrExternalJarFlags(String flags)

Sets the external JAR flags.

Parameters:
  • flags – The external JAR flags.
Returns:

This builder.

withStrFormat

ISpoofaxLanguageSpecConfigBuilder withStrFormat(StrategoFormat format)

Sets the project artifact format.

Parameters:
Returns:

This builder.

withStrTypesmart

ISpoofaxLanguageSpecConfigBuilder withStrTypesmart(boolean typesmart)

Sets the Stratego typesmart property.

Parameters:
  • args – The Stratego typesmart property.
Returns:

This builder.

withUseBuildSystemSpec

ISpoofaxLanguageSpecConfigBuilder withUseBuildSystemSpec(boolean useBuildSystemSpec)

{@inheritDoc}