This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//The global script scope | |
def ctx = context(scope: scriptScope()) | |
//What things can be on the script scope | |
contributor(ctx) { | |
method(name: 'echo', type: 'java.lang.Object', params: [message: 'java.lang.String'], doc: 'Print Message') | |
method(name: 'node', type: 'java.lang.Object', params: [body: 'Closure'], doc: 'Allocate node') | |
method(name: 'node', type: 'java.lang.Object', params: [label: 'java.lang.String', body: 'Closure'], doc: 'Allocate node') | |
method(name: 'pipeline', type: 'java.lang.Object', params: [body: 'Closure'], doc: 'Pipeline root element') | |
property(name: 'params', type: 'org.jenkinsci.plugins.workflow.cps.ParamsVariable') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.sample; | |
import javafx.application.Platform; | |
import javafx.beans.property.SimpleStringProperty; | |
import javafx.beans.property.StringProperty; | |
import javafx.beans.value.ChangeListener; | |
import org.apache.log4j.AppenderSkeleton; | |
import org.apache.log4j.Layout; | |
import org.apache.log4j.spi.LoggingEvent; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package sample; | |
import javafx.application.Application; | |
import javafx.beans.binding.Bindings; | |
import javafx.beans.property.ObjectProperty; | |
import javafx.beans.property.SimpleObjectProperty; | |
import javafx.concurrent.Task; | |
import javafx.scene.Cursor; | |
import javafx.scene.Scene; | |
import javafx.scene.control.ComboBox; |