Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 84e4eb501d17b9dd203ab648f7021350eb8ca0a6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*******************************************************************************
 *
 * Copyright (c) 2011 Oracle Corporation.
 *
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *
 *    Nikita Levyankov
 *
 *******************************************************************************/

package org.eclipse.hudson.api.model.project.property;

import hudson.triggers.Trigger;
import org.eclipse.hudson.api.model.IJob;

/**
 * Property for triggers in case of we should use child project trigger
 * instead of parent project if they are equals.
 */
public class TriggerProjectProperty extends BaseProjectProperty<Trigger> {
    public TriggerProjectProperty(IJob job) {
        super(job);
    }

    /**
     * {@inheritDoc}
     */
    @Override
    protected void clearOriginalValue(Trigger originalValue) {
        setOriginalValue(originalValue, false);
    }
}

Back to the top