All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.atlassian.bamboo.specs.builders.trigger.RemoteTrigger Maven / Gradle / Ivy

There is a newer version: 10.1.0
Show newest version
package com.atlassian.bamboo.specs.builders.trigger;

import com.atlassian.bamboo.specs.api.builders.trigger.RepositoryBasedTrigger;
import com.atlassian.bamboo.specs.model.trigger.RemoteTriggerProperties;

/**
 * Represents remote trigger.
 */
public class RemoteTrigger extends RepositoryBasedTrigger {

    private 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' */ public RemoteTrigger triggerIPAddresses(final String triggerIPAddresses) { this.triggerIPAddresses = triggerIPAddresses; return this; } @Override protected RemoteTriggerProperties build() { return new RemoteTriggerProperties(description, triggerEnabled, conditions, triggeringRepositoriesType, selectedTriggeringRepositories, triggerIPAddresses); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy