Package io.fabric8.kubernetes.api.model
Class HandlerFluentImpl<A extends HandlerFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.kubernetes.api.model.HandlerFluentImpl<A>
-
- All Implemented Interfaces:
Fluent<A>
,Visitable<A>
,HandlerFluent<A>
- Direct Known Subclasses:
HandlerBuilder
,LifecycleFluentImpl.PostStartNestedImpl
,LifecycleFluentImpl.PreStopNestedImpl
,WatchEventFluentImpl.HandlerObjectNestedImpl
public class HandlerFluentImpl<A extends HandlerFluent<A>> extends BaseFluent<A> implements HandlerFluent<A>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
HandlerFluentImpl.ExecNestedImpl<N>
class
HandlerFluentImpl.HttpGetNestedImpl<N>
class
HandlerFluentImpl.TcpSocketNestedImpl<N>
-
Nested classes/interfaces inherited from interface io.fabric8.kubernetes.api.model.HandlerFluent
HandlerFluent.ExecNested<N>, HandlerFluent.HttpGetNested<N>, HandlerFluent.TcpSocketNested<N>
-
-
Field Summary
-
Fields inherited from class io.fabric8.kubernetes.api.builder.BaseFluent
_visitables
-
-
Constructor Summary
Constructors Constructor Description HandlerFluentImpl()
HandlerFluentImpl(Handler instance)
-
Method Summary
-
-
-
Constructor Detail
-
HandlerFluentImpl
public HandlerFluentImpl()
-
HandlerFluentImpl
public HandlerFluentImpl(Handler instance)
-
-
Method Detail
-
getExec
@Deprecated public ExecAction getExec()
Deprecated.This method has been deprecated, please use method buildExec instead.- Specified by:
getExec
in interfaceHandlerFluent<A extends HandlerFluent<A>>
- Returns:
- The buildable object.
-
buildExec
public ExecAction buildExec()
- Specified by:
buildExec
in interfaceHandlerFluent<A extends HandlerFluent<A>>
-
withExec
public A withExec(ExecAction exec)
- Specified by:
withExec
in interfaceHandlerFluent<A extends HandlerFluent<A>>
-
hasExec
public Boolean hasExec()
- Specified by:
hasExec
in interfaceHandlerFluent<A extends HandlerFluent<A>>
-
withNewExec
public HandlerFluent.ExecNested<A> withNewExec()
- Specified by:
withNewExec
in interfaceHandlerFluent<A extends HandlerFluent<A>>
-
withNewExecLike
public HandlerFluent.ExecNested<A> withNewExecLike(ExecAction item)
- Specified by:
withNewExecLike
in interfaceHandlerFluent<A extends HandlerFluent<A>>
-
editExec
public HandlerFluent.ExecNested<A> editExec()
- Specified by:
editExec
in interfaceHandlerFluent<A extends HandlerFluent<A>>
-
editOrNewExec
public HandlerFluent.ExecNested<A> editOrNewExec()
- Specified by:
editOrNewExec
in interfaceHandlerFluent<A extends HandlerFluent<A>>
-
editOrNewExecLike
public HandlerFluent.ExecNested<A> editOrNewExecLike(ExecAction item)
- Specified by:
editOrNewExecLike
in interfaceHandlerFluent<A extends HandlerFluent<A>>
-
getHttpGet
@Deprecated public HTTPGetAction getHttpGet()
Deprecated.This method has been deprecated, please use method buildHttpGet instead.- Specified by:
getHttpGet
in interfaceHandlerFluent<A extends HandlerFluent<A>>
- Returns:
- The buildable object.
-
buildHttpGet
public HTTPGetAction buildHttpGet()
- Specified by:
buildHttpGet
in interfaceHandlerFluent<A extends HandlerFluent<A>>
-
withHttpGet
public A withHttpGet(HTTPGetAction httpGet)
- Specified by:
withHttpGet
in interfaceHandlerFluent<A extends HandlerFluent<A>>
-
hasHttpGet
public Boolean hasHttpGet()
- Specified by:
hasHttpGet
in interfaceHandlerFluent<A extends HandlerFluent<A>>
-
withNewHttpGet
public HandlerFluent.HttpGetNested<A> withNewHttpGet()
- Specified by:
withNewHttpGet
in interfaceHandlerFluent<A extends HandlerFluent<A>>
-
withNewHttpGetLike
public HandlerFluent.HttpGetNested<A> withNewHttpGetLike(HTTPGetAction item)
- Specified by:
withNewHttpGetLike
in interfaceHandlerFluent<A extends HandlerFluent<A>>
-
editHttpGet
public HandlerFluent.HttpGetNested<A> editHttpGet()
- Specified by:
editHttpGet
in interfaceHandlerFluent<A extends HandlerFluent<A>>
-
editOrNewHttpGet
public HandlerFluent.HttpGetNested<A> editOrNewHttpGet()
- Specified by:
editOrNewHttpGet
in interfaceHandlerFluent<A extends HandlerFluent<A>>
-
editOrNewHttpGetLike
public HandlerFluent.HttpGetNested<A> editOrNewHttpGetLike(HTTPGetAction item)
- Specified by:
editOrNewHttpGetLike
in interfaceHandlerFluent<A extends HandlerFluent<A>>
-
getTcpSocket
@Deprecated public TCPSocketAction getTcpSocket()
Deprecated.This method has been deprecated, please use method buildTcpSocket instead.- Specified by:
getTcpSocket
in interfaceHandlerFluent<A extends HandlerFluent<A>>
- Returns:
- The buildable object.
-
buildTcpSocket
public TCPSocketAction buildTcpSocket()
- Specified by:
buildTcpSocket
in interfaceHandlerFluent<A extends HandlerFluent<A>>
-
withTcpSocket
public A withTcpSocket(TCPSocketAction tcpSocket)
- Specified by:
withTcpSocket
in interfaceHandlerFluent<A extends HandlerFluent<A>>
-
hasTcpSocket
public Boolean hasTcpSocket()
- Specified by:
hasTcpSocket
in interfaceHandlerFluent<A extends HandlerFluent<A>>
-
withNewTcpSocket
public HandlerFluent.TcpSocketNested<A> withNewTcpSocket()
- Specified by:
withNewTcpSocket
in interfaceHandlerFluent<A extends HandlerFluent<A>>
-
withNewTcpSocketLike
public HandlerFluent.TcpSocketNested<A> withNewTcpSocketLike(TCPSocketAction item)
- Specified by:
withNewTcpSocketLike
in interfaceHandlerFluent<A extends HandlerFluent<A>>
-
editTcpSocket
public HandlerFluent.TcpSocketNested<A> editTcpSocket()
- Specified by:
editTcpSocket
in interfaceHandlerFluent<A extends HandlerFluent<A>>
-
editOrNewTcpSocket
public HandlerFluent.TcpSocketNested<A> editOrNewTcpSocket()
- Specified by:
editOrNewTcpSocket
in interfaceHandlerFluent<A extends HandlerFluent<A>>
-
editOrNewTcpSocketLike
public HandlerFluent.TcpSocketNested<A> editOrNewTcpSocketLike(TCPSocketAction item)
- Specified by:
editOrNewTcpSocketLike
in interfaceHandlerFluent<A extends HandlerFluent<A>>
-
-