Package io.cucumber.messages.types
Class Envelope
- java.lang.Object
-
- io.cucumber.messages.types.Envelope
-
public final class Envelope extends Object
Represents the Envelope message in Cucumber's message protocol- See Also:
- Github - Cucumber - Messages When removing a field, replace it with reserved, rather than deleting the line. When adding a field, add it to the end and increment the number by one. See https://developers.google.com/protocol-buffers/docs/proto#updating for details All the messages that are passed between different components/processes are Envelope messages.
-
-
Constructor Summary
Constructors Constructor Description Envelope(Attachment attachment, GherkinDocument gherkinDocument, Hook hook, Meta meta, ParameterType parameterType, ParseError parseError, Pickle pickle, Source source, StepDefinition stepDefinition, TestCase testCase, TestCaseFinished testCaseFinished, TestCaseStarted testCaseStarted, TestRunFinished testRunFinished, TestRunStarted testRunStarted, TestStepFinished testStepFinished, TestStepStarted testStepStarted, TestRunHookStarted testRunHookStarted, TestRunHookFinished testRunHookFinished, UndefinedParameterType undefinedParameterType)
-
Method Summary
-
-
-
Constructor Detail
-
Envelope
public Envelope(Attachment attachment, GherkinDocument gherkinDocument, Hook hook, Meta meta, ParameterType parameterType, ParseError parseError, Pickle pickle, Source source, StepDefinition stepDefinition, TestCase testCase, TestCaseFinished testCaseFinished, TestCaseStarted testCaseStarted, TestRunFinished testRunFinished, TestRunStarted testRunStarted, TestStepFinished testStepFinished, TestStepStarted testStepStarted, TestRunHookStarted testRunHookStarted, TestRunHookFinished testRunHookFinished, UndefinedParameterType undefinedParameterType)
-
-
Method Detail
-
of
public static Envelope of(Attachment attachment)
-
of
public static Envelope of(GherkinDocument gherkinDocument)
-
of
public static Envelope of(ParameterType parameterType)
-
of
public static Envelope of(ParseError parseError)
-
of
public static Envelope of(StepDefinition stepDefinition)
-
of
public static Envelope of(TestCaseFinished testCaseFinished)
-
of
public static Envelope of(TestCaseStarted testCaseStarted)
-
of
public static Envelope of(TestRunFinished testRunFinished)
-
of
public static Envelope of(TestRunStarted testRunStarted)
-
of
public static Envelope of(TestStepFinished testStepFinished)
-
of
public static Envelope of(TestStepStarted testStepStarted)
-
of
public static Envelope of(TestRunHookStarted testRunHookStarted)
-
of
public static Envelope of(TestRunHookFinished testRunHookFinished)
-
of
public static Envelope of(UndefinedParameterType undefinedParameterType)
-
getAttachment
public Optional<Attachment> getAttachment()
-
getGherkinDocument
public Optional<GherkinDocument> getGherkinDocument()
-
getParameterType
public Optional<ParameterType> getParameterType()
-
getParseError
public Optional<ParseError> getParseError()
-
getStepDefinition
public Optional<StepDefinition> getStepDefinition()
-
getTestCaseFinished
public Optional<TestCaseFinished> getTestCaseFinished()
-
getTestCaseStarted
public Optional<TestCaseStarted> getTestCaseStarted()
-
getTestRunFinished
public Optional<TestRunFinished> getTestRunFinished()
-
getTestRunStarted
public Optional<TestRunStarted> getTestRunStarted()
-
getTestStepFinished
public Optional<TestStepFinished> getTestStepFinished()
-
getTestStepStarted
public Optional<TestStepStarted> getTestStepStarted()
-
getTestRunHookStarted
public Optional<TestRunHookStarted> getTestRunHookStarted()
-
getTestRunHookFinished
public Optional<TestRunHookFinished> getTestRunHookFinished()
-
getUndefinedParameterType
public Optional<UndefinedParameterType> getUndefinedParameterType()
-
-