Class ApplyContainerToObjectFunction
- java.lang.Object
-
- org.openstack4j.openstack.storage.object.functions.ApplyContainerToObjectFunction
-
- All Implemented Interfaces:
com.google.common.base.Function<SwiftObjectImpl,SwiftObjectImpl>,Function<SwiftObjectImpl,SwiftObjectImpl>
public class ApplyContainerToObjectFunction extends Object implements com.google.common.base.Function<SwiftObjectImpl,SwiftObjectImpl>
Applies a container name specified through the function creation to a Swift Object- Author:
- Jeremy Unruh
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SwiftObjectImplapply(SwiftObjectImpl obj)static ApplyContainerToObjectFunctioncreate(String containerName)
-
-
-
Method Detail
-
create
public static ApplyContainerToObjectFunction create(String containerName)
-
apply
public SwiftObjectImpl apply(SwiftObjectImpl obj)
- Specified by:
applyin interfacecom.google.common.base.Function<SwiftObjectImpl,SwiftObjectImpl>- Specified by:
applyin interfaceFunction<SwiftObjectImpl,SwiftObjectImpl>
-
-