Constructor and Description |
---|
ClientUserCodeDeploymentConfig() |
Modifier and Type | Method and Description |
---|---|
ClientUserCodeDeploymentConfig |
addClass(Class clazz) |
ClientUserCodeDeploymentConfig |
addClass(String className) |
ClientUserCodeDeploymentConfig |
addJar(File jarFile) |
ClientUserCodeDeploymentConfig |
addJar(String jarPath)
String jarPath is searched in following order:
1.
|
List<String> |
getClassNames() |
List<String> |
getJarPaths() |
boolean |
isEnabled() |
ClientUserCodeDeploymentConfig |
setClassNames(List<String> classNames) |
ClientUserCodeDeploymentConfig |
setEnabled(boolean enabled) |
ClientUserCodeDeploymentConfig |
setJarPaths(List<String> jarPaths)
String jarPath is searched in following order:
1.
|
public boolean isEnabled()
true
} when User Code Deployment is enabledpublic ClientUserCodeDeploymentConfig setEnabled(boolean enabled)
enabled
- Enable or disable User Code Deployment. Default: {false
}public ClientUserCodeDeploymentConfig setClassNames(List<String> classNames)
classNames
- names of the classes that will be send to clusterpublic ClientUserCodeDeploymentConfig setJarPaths(List<String> jarPaths)
jarPaths
- add list of jarPaths that will be send to clusterspublic ClientUserCodeDeploymentConfig addClass(String className)
className
- name of the class that will be send to clusterpublic ClientUserCodeDeploymentConfig addClass(Class clazz)
clazz
- class that will be send to clusterpublic ClientUserCodeDeploymentConfig addJar(String jarPath)
jarPath
- path of the jar that will be send to clusterspublic ClientUserCodeDeploymentConfig addJar(File jarFile)
jarFile
- path of the jar that will be send to clustersCopyright © 2018 Hazelcast, Inc.. All rights reserved.