Class ExtentBuilder<P>
- Object
-
- ExtentBuilder<P>
-
-
Constructor Summary
Constructors Constructor Description ExtentBuilder()ExtentBuilder(P parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Extentbuild()Created object, may be null if unset()Pend()ExtentBuilder<P>reset()Configure the Builder to produce a default result.ExtentBuilder<P>reset(Extent extent)Configure the Builder to produce a copy of the provided original.ExtentBuilder<P>unset()Configure the Builder to producenull.
-
-
-
Constructor Detail
-
ExtentBuilder
public ExtentBuilder()
-
ExtentBuilder
public ExtentBuilder(P parent)
-
-
Method Detail
-
build
public Extent build()
Description copied from interface:BuilderCreated object, may be null if unset()
-
end
public P end()
-
reset
public ExtentBuilder<P> reset()
Description copied from interface:BuilderConfigure the Builder to produce a default result.
-
reset
public ExtentBuilder<P> reset(Extent extent)
Description copied from interface:BuilderConfigure the Builder to produce a copy of the provided original.
-
unset
public ExtentBuilder<P> unset()
Description copied from interface:BuilderConfigure the Builder to producenull.This method allows a Builder to be used as a placeholder; in its unset state the build() method will produce
null. If any of the builder methods are used the builder will produce a result.
-
-