public class Common extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
COLLECTION_SIZE
Used to set the size when create a new collection(just to pass the checkstyle).
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Path |
appRootDir()
Root dir varies between different spark master and deploy mode, it also varies between
relative and absolute path.
|
static Path |
appStarterDir() |
static Path |
connectorDir()
Plugin Connector Dir
|
static DeployMode |
getDeployMode() |
static List<Path> |
getLibJars()
return lib jars, which located in 'lib/*' or 'lib/{dir}/*'.
|
static List<Path> |
getPluginsJarDependencies()
return plugin's dependent jars, which located in 'plugins/${pluginName}/lib/*'.
|
static String |
getSeaTunnelHome() |
static Set<Path> |
getThirdPartyJars(String paths)
return the jar package configured in env jars
|
static Path |
libDir()
lib Dir
|
static Path |
pluginRootDir()
Plugin Root Dir
|
static Path |
pluginTarball() |
static void |
setDeployMode(DeployMode mode)
Set mode. return false in case of failure
|
static void |
setSeaTunnelHome(String seatunnelHome) |
static void |
setStarter(boolean inStarter) |
public static final int COLLECTION_SIZE
public static void setDeployMode(DeployMode mode)
public static void setStarter(boolean inStarter)
public static DeployMode getDeployMode()
public static String getSeaTunnelHome()
public static void setSeaTunnelHome(String seatunnelHome)
public static Path appRootDir()
public static Path appStarterDir()
public static Path pluginRootDir()
public static Path connectorDir()
public static Path libDir()
public static List<Path> getLibJars()
public static Set<Path> getThirdPartyJars(String paths)
public static Path pluginTarball()
Copyright © 2024 The Apache Software Foundation. All rights reserved.