public class ClientUserCodeDeploymentConfig extends Object
Constructor and Description |
---|
ClientUserCodeDeploymentConfig() |
ClientUserCodeDeploymentConfig(ClientUserCodeDeploymentConfig userCodeDeploymentConfig) |
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.
|
boolean |
equals(Object o) |
List<String> |
getClassNames() |
List<String> |
getJarPaths() |
int |
hashCode() |
boolean |
isEnabled() |
ClientUserCodeDeploymentConfig |
setClassNames(List<String> classNames) |
ClientUserCodeDeploymentConfig |
setEnabled(boolean enabled) |
ClientUserCodeDeploymentConfig |
setJarPaths(List<String> jarPaths)
String jarPath is searched in following order:
1.
|
String |
toString() |
public ClientUserCodeDeploymentConfig()
public ClientUserCodeDeploymentConfig(ClientUserCodeDeploymentConfig userCodeDeploymentConfig)
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 © 2020 Hazelcast, Inc.. All rights reserved.