| Package | Description |
|---|---|
| co.cask.cdap.proto | |
| co.cask.cdap.proto.template |
| Modifier and Type | Method and Description |
|---|---|
static ProgramType |
ProgramTypes.fromSpecification(ProgramSpecification spec)
Maps from
ProgramSpecification to ProgramType. |
ProgramType |
ProgramId.getType() |
ProgramType |
ProgramLiveInfo.getType() |
ProgramType |
ProgramRecord.getType() |
ProgramType |
Id.Program.getType() |
static ProgramType |
ProgramType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProgramType |
ProgramType.valueOfCategoryName(String categoryName) |
static ProgramType |
ProgramType.valueOfPrettyName(String pretty) |
static ProgramType |
ProgramType.valueOfSchedulableType(SchedulableProgramType schedulableType) |
static ProgramType[] |
ProgramType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static Id.Program |
Id.Program.from(Id.Application appId,
ProgramType type,
String pgmId) |
static Id.Program |
Id.Program.from(Id.Namespace namespaceId,
String appId,
ProgramType type,
String pgmId) |
static Id.Program |
Id.Program.from(String namespaceId,
String appId,
ProgramType type,
String pgmId) |
| Constructor and Description |
|---|
DistributedProgramLiveInfo(Id.Program program,
ProgramType type,
String yarnAppId) |
Id.Program(Id.Application application,
ProgramType type,
String id) |
InMemoryProgramLiveInfo(Id.Program programId,
ProgramType type) |
InMemoryProgramLiveInfo(Id.Program programId,
ProgramType type,
List<String> services) |
NotRunningProgramLiveInfo(Id.Program programId,
ProgramType type) |
ProgramId(String namespace,
String application,
ProgramType type,
String id) |
ProgramLiveInfo(Id.Program programId,
ProgramType type,
String runtime) |
ProgramRecord(ProgramType type,
String app,
String name,
String description) |
ProgramRecord(ProgramType type,
String app,
String id,
String name,
String description)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
ProgramType |
ApplicationTemplateMeta.getProgramType() |
| Constructor and Description |
|---|
ApplicationTemplateDetail(String name,
String description,
ProgramType programType,
Set<String> extensions) |
ApplicationTemplateMeta(String name,
String description,
ProgramType programType) |
Copyright © 2015 Cask Data, Inc. Licensed under the Apache License, Version 2.0.