public class LocalTaskPlatformFactory extends AbstractTaskPlatformFactory<LocalPlatformProperties>
logger, platformProperties
CLOUDFOUNDRY_PLATFORM_TYPE, KUBERNETES_PLATFORM_TYPE, LOCAL_PLATFORM_TYPE
Constructor and Description |
---|
LocalTaskPlatformFactory(LocalPlatformProperties platformProperties,
org.springframework.cloud.deployer.spi.scheduler.Scheduler localScheduler) |
Modifier and Type | Method and Description |
---|---|
Launcher |
createLauncher(String account)
Create the
Launcher by the given name. |
TaskPlatform |
createTaskPlatform()
Create the
TaskPlatform instance with the launchers. |
createLaunchers
public LocalTaskPlatformFactory(LocalPlatformProperties platformProperties, org.springframework.cloud.deployer.spi.scheduler.Scheduler localScheduler)
public TaskPlatform createTaskPlatform()
TaskPlatformFactory
TaskPlatform
instance with the launchers.createTaskPlatform
in interface TaskPlatformFactory
createTaskPlatform
in class AbstractTaskPlatformFactory<LocalPlatformProperties>
public Launcher createLauncher(String account)
TaskPlatformFactory
Launcher
by the given name.account
- the name of the launcherCopyright © 2020 Pivotal Software, Inc.. All rights reserved.