public final class TestParameter extends Object implements Documentable, NamedElement, ExecutionModelElement
TestParameter
represents a test parameters which can be assigned to any class which implements Parameterized
.Parameterized
Modifier and Type | Class and Description |
---|---|
static class |
TestParameter.Builder
Builds instances of type
TestParameter . |
Modifier and Type | Method and Description |
---|---|
static TestParameter |
build(org.eclipse.xtext.xbase.lib.Procedures.Procedure1<TestParameter.Builder> init)
Creates an immutable instance of TestParameter.
|
TestParameter |
copy(org.eclipse.xtext.xbase.lib.Procedures.Procedure1<TestParameter.Builder> init)
Creates an immutable copy of this instance.
|
boolean |
equals(Object obj) |
Optional<String> |
getDescription()
Returns a description which is more detailed than the title.
|
String |
getLabel() |
String |
getName()
Returns the name.
|
Optional<String> |
getTitle()
Returns the title.
|
Object |
getValue() |
int |
hashCode() |
String |
toString() |
public String getLabel()
label
attributepublic Object getValue()
value
attributepublic Optional<String> getTitle()
Documentable
getTitle
in interface Documentable
title
attributepublic Optional<String> getDescription()
Documentable
getDescription
in interface Documentable
description
attributepublic String getName()
NamedElement
getName
in interface NamedElement
name
attributepublic static TestParameter build(org.eclipse.xtext.xbase.lib.Procedures.Procedure1<TestParameter.Builder> init)
init
- The initializerIllegalStateException
- if any required attributes are missingpublic TestParameter copy(org.eclipse.xtext.xbase.lib.Procedures.Procedure1<TestParameter.Builder> init)
init
- The initializerCopyright © 2018–2021 b+m Informatik AG. All rights reserved.