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

com.cloudbees.groovy.cps.CaseExpression Maven / Gradle / Ivy

There is a newer version: 1.31
Show newest version
package com.cloudbees.groovy.cps;

import com.cloudbees.groovy.cps.impl.SourceLocation;

import java.io.Serializable;

/**
 * @author Kohsuke Kawaguchi
 */
public class CaseExpression implements Serializable {
    /**
     * Expression in the case that decides the match.
     */
    public final Block matcher;
    public final Block body;
    public final SourceLocation loc;

    public CaseExpression(SourceLocation loc, Block matcher, Block body) {
        this.loc = loc;
        this.matcher = matcher;
        this.body = body;
    }

    private static final long serialVersionUID = 1L;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy