Class NoopResourceUpdateAction
- java.lang.Object
-
- com.commercetools.sync.customobjects.models.NoopResourceUpdateAction
-
- All Implemented Interfaces:
com.commercetools.api.models.ResourceUpdateAction<NoopResourceUpdateAction>
public class NoopResourceUpdateAction extends java.lang.Object implements com.commercetools.api.models.ResourceUpdateAction<NoopResourceUpdateAction>
This class is a fake class that represents a CTP resource with no update actions. Such resource is currently custom objects. Since they're exception, I created this class so that we can still use a common BaseSyncOptions for all resources and do not have to break the whole generics just because of the custom object inconsistency.
-
-
Constructor Summary
Constructors Constructor Description NoopResourceUpdateAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NoopResourceUpdateAction
get()
java.lang.String
getAction()
-
-
-
Method Detail
-
getAction
public java.lang.String getAction()
- Specified by:
getAction
in interfacecom.commercetools.api.models.ResourceUpdateAction<NoopResourceUpdateAction>
-
get
public NoopResourceUpdateAction get()
- Specified by:
get
in interfacecom.commercetools.api.models.ResourceUpdateAction<NoopResourceUpdateAction>
-
-