Class CartridgeProject

  • All Implemented Interfaces:

    
    public class CartridgeProject
    
                        

    This is part of the project extension and describes sub projects, like connectors, payment provider etc.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      CartridgeProject(Project project, ObjectFactory objectFactory) provides a sub project configuration.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Project getProject()
      final Property<String> getDependency() Dependency of the base project.
      final Property<String> getImage() Image path for the project.
      final Property<String> getTestImage() Test image path for the project.
      final SetProperty<String> getPlatforms() Dependency of version filters of the base project.
      final FilePackage getConfigPackage() Configuration for configuration package.
      final Unit platform(String dependency) Add a dependency to the set of dependency filter dependencies.
      final Unit configPackage(Action<in FilePackage> action) Provides the configuration of a package with configuration files.
      final Unit configPackage(Closure<FilePackage> c) Provides the configuration of a package with configuration files.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CartridgeProject

        CartridgeProject(Project project, ObjectFactory objectFactory)

        provides a sub project configuration.

    • Method Detail

      • getDependency

        @Input() final Property<String> getDependency()

        Dependency of the base project.

      • getImage

        @Input() final Property<String> getImage()

        Image path for the project.

      • getTestImage

        @Optional()@Input() final Property<String> getTestImage()

        Test image path for the project.

      • getPlatforms

        @Optional()@Input() final SetProperty<String> getPlatforms()

        Dependency of version filters of the base project.

      • platform

         final Unit platform(String dependency)

        Add a dependency to the set of dependency filter dependencies.

        Parameters:
        dependency - external module dependency in a short notation
      • configPackage

         final Unit configPackage(Action<in FilePackage> action)

        Provides the configuration of a package with configuration files.

        Parameters:
        action - action to configure a file package.
      • configPackage

         final Unit configPackage(Closure<FilePackage> c)

        Provides the configuration of a package with configuration files.

        Parameters:
        c - closure to configure a file package.