public class RunSpecification extends Object
Modifier and Type | Class and Description |
---|---|
static class |
RunSpecification.Builder
Builder class for creating RunSpecifications.
|
Modifier and Type | Method and Description |
---|---|
String |
getCode()
Returns the entry point code for the applet.
|
String |
getDistribution()
Returns the distribution for the applet.
|
String |
getInterpreter()
Returns the interpreter for the applet.
|
String |
getRelease()
Returns the release for the applet.
|
static RunSpecification.Builder |
newRunSpec(String interpreter,
String code,
String distribution,
String release)
Returns a builder initialized to create a run specification with the given interpreter,
entry point code, distribution and release.
|
public static RunSpecification.Builder newRunSpec(String interpreter, String code, String distribution, String release)
interpreter
- interpreter name, e.g. "bash" or "python2.7"code
- entry point codedistribution
- OS distribution, e.g. "Ubuntu"release
- OS release, e.g. "14.04"public String getCode()
public String getInterpreter()
public String getDistribution()
public String getRelease()
Copyright © 2023. All Rights Reserved.