Package com.github.fungal.spi.deployers
Interface Context
- All Known Implementing Classes:
ContextImpl
public interface Context
Context for a deployment.
The context will be kept around for the entire length of the processing
of the deployment
- Author:
- Jesper Pedersen
-
Method Summary
-
Method Details
-
getKernel
Kernel getKernel()Get the kernel instance for the deployment- Returns:
- The instance
-
exists
Exists- Parameters:
key- The key of the resource- Returns:
- True if the key/value pair exists; otherwise false
-
put
Put- Parameters:
key- The key of the resourcevalue- The value of the resource- Returns:
- The previous value for the key
-
get
Get- Parameters:
key- The key of the resource- Returns:
- The value of the resource
-
remove
Remove- Parameters:
key- The key of the resource- Returns:
- The value of the resource
-