public static class Id.Program extends Id.NamespacedId
Id.Adapter, Id.AdapterType, Id.Application, Id.ApplicationTemplate, Id.DatasetInstance, Id.DatasetModule, Id.DatasetType, Id.Flow, Id.Namespace, Id.NamespacedId, Id.NotificationFeed, Id.Program, Id.QueryHandle, Id.Run, Id.Schedule, Id.Service, Id.Stream, Id.SystemService, Id.Worker| Constructor and Description |
|---|
Id.Program(Id.Application application,
ProgramType type,
String id) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static Id.Program |
from(Id.Application appId,
ProgramType type,
String pgmId) |
static Id.Program |
from(Id.Namespace namespaceId,
String appId,
ProgramType type,
String pgmId) |
static Id.Program |
from(String namespaceId,
String appId,
ProgramType type,
String pgmId) |
static Id.Program |
fromStrings(String[] strings) |
static Id.Program |
fromStrings(String[] strings,
int position) |
Id.Application |
getApplication() |
String |
getApplicationId() |
String |
getId() |
protected String |
getIdForRep() |
Id.Namespace |
getNamespace() |
String |
getNamespaceId() |
Id |
getParent() |
ProgramType |
getType() |
int |
hashCode() |
public Id.Program(Id.Application application, ProgramType type, String id)
public ProgramType getType()
public String getApplicationId()
public String getNamespaceId()
public Id.Namespace getNamespace()
getNamespace in class Id.NamespacedIdpublic Id.Application getApplication()
protected String getIdForRep()
getIdForRep in class Idpublic static Id.Program from(Id.Application appId, ProgramType type, String pgmId)
public static Id.Program from(Id.Namespace namespaceId, String appId, ProgramType type, String pgmId)
public static Id.Program from(String namespaceId, String appId, ProgramType type, String pgmId)
public static Id.Program fromStrings(String[] strings, int position)
strings - from Id.toString(), split by "/"position - index into the string where parsing should beginId.Programpublic static Id.Program fromStrings(String[] strings)
strings - from Id.toString(), split by "/"Id.ProgramCopyright © 2015 Cask Data, Inc. Licensed under the Apache License, Version 2.0.