Class ActivationDTO

java.lang.Object
aQute.bnd.util.dto.DTO
aQute.maven.dto.ActivationDTO

public class ActivationDTO extends aQute.bnd.util.dto.DTO
The conditions within the build runtime environment which will trigger the automatic inclusion of the build profile. Multiple conditions can be defined, which must be all satisfied to activate the profile.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    boolean
    If set to true, this profile will be active unless another profile in this pom is activated using the command line -P option or by one of that profile's activators.
    Specifies that this profile will be activated based on existence of a file.
    Specifies that this profile will be activated when a matching JDK is detected.
    Specifies that this profile will be activated when matching operating system attributes are detected.
    Specifies that this profile will be activated when this system property is specified.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class aQute.bnd.util.dto.DTO

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • activeByDefault

      public boolean activeByDefault
      If set to true, this profile will be active unless another profile in this pom is activated using the command line -P option or by one of that profile's activators.
    • jdk

      public String jdk
      Specifies that this profile will be activated when a matching JDK is detected. For example, 1.4 only activates on JDKs versioned 1.4, while !1.4 matches any JDK that is not version 1.4. Ranges are supported too: [1.5,) activates when the JDK is 1.5 minimum.
    • os

      public ActivationOSDTO os
      Specifies that this profile will be activated when matching operating system attributes are detected.
    • property

      public ActivationPropertyDTO property
      Specifies that this profile will be activated when this system property is specified.
    • file

      public ActivationFileDTO file
      Specifies that this profile will be activated based on existence of a file.
  • Constructor Details

    • ActivationDTO

      public ActivationDTO()