Package com.vaadin.flow.testutil
Class FrontendStubs.ToolStubInfo
- java.lang.Object
-
- com.vaadin.flow.testutil.FrontendStubs.ToolStubInfo
-
- Enclosing class:
- FrontendStubs
public static final class FrontendStubs.ToolStubInfo extends Object
Holds an information about build tool to be stubbed.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FrontendStubs.ToolStubBuilderbuilder(FrontendStubs.Tool tool)Creates a new builder for constructing a new instance of tool stub info.StringgetScript()booleanisStubbed()static FrontendStubs.ToolStubInfonone()Returns a dummy tool stub info, which denotes no stub is used.
-
-
-
Method Detail
-
builder
public static FrontendStubs.ToolStubBuilder builder(FrontendStubs.Tool tool)
Creates a new builder for constructing a new instance of tool stub info.- Parameters:
tool- the build tool to create a stub for.- Returns:
- a new tool stub info builder.
-
none
public static FrontendStubs.ToolStubInfo none()
Returns a dummy tool stub info, which denotes no stub is used.- Returns:
- a tool stub info for non-used stub.
-
isStubbed
public boolean isStubbed()
-
getScript
public String getScript()
-
-