Class RemoteTrigger

java.lang.Object
com.atlassian.bamboo.specs.api.builders.EntityPropertiesBuilder<P>
com.atlassian.bamboo.specs.api.builders.trigger.Trigger<T,P>
com.atlassian.bamboo.specs.api.builders.trigger.RepositoryBasedTrigger<RemoteTrigger,RemoteTriggerProperties>
com.atlassian.bamboo.specs.builders.trigger.RemoteTrigger

public class RemoteTrigger extends com.atlassian.bamboo.specs.api.builders.trigger.RepositoryBasedTrigger<RemoteTrigger,RemoteTriggerProperties>
Represents remote trigger.
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.atlassian.bamboo.specs.api.builders.trigger.RepositoryBasedTrigger

    com.atlassian.bamboo.specs.api.builders.trigger.RepositoryBasedTrigger.TriggeringRepositoriesType
  • Field Summary

    Fields inherited from class com.atlassian.bamboo.specs.api.builders.trigger.RepositoryBasedTrigger

    selectedTriggeringRepositories, triggeringRepositoriesType

    Fields inherited from class com.atlassian.bamboo.specs.api.builders.trigger.Trigger

    conditions, description, name, triggerEnabled
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    triggerIPAddresses(String triggerIPAddresses)
    Sets the IP address.

    Methods inherited from class com.atlassian.bamboo.specs.api.builders.trigger.RepositoryBasedTrigger

    allAvailableTriggeringRepositories, selectedTriggeringRepositories, triggeringRepositoriesType

    Methods inherited from class com.atlassian.bamboo.specs.api.builders.trigger.Trigger

    conditions, description, enabled, name

    Methods inherited from class java.lang.Object

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

    • RemoteTrigger

      public RemoteTrigger()
  • Method Details

    • triggerIPAddresses

      public RemoteTrigger triggerIPAddresses(String triggerIPAddresses)
      Sets the IP address.

      Bamboo ensures that triggers originate from IP addresses of the repository server(s). You can authorise additional IP addresses or CIDRs here, separated by a comma. In example: '10.0.0.0/32'

    • build

      protected RemoteTriggerProperties build()
      Specified by:
      build in class com.atlassian.bamboo.specs.api.builders.trigger.Trigger<RemoteTrigger,RemoteTriggerProperties>