public class UrlAppmasterTrackService extends java.lang.Object implements AppmasterTrackService
AppmasterTrackService
implementation
whose only purpose is to expose the given url. This is
most useful if existing service already exists and its
url needs to be exposed to Application Master.Constructor and Description |
---|
UrlAppmasterTrackService(java.lang.String url)
Instantiate with a given url.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getTrackUrl()
Gets a url of this track service.
|
void |
setUrl(java.lang.String url)
Sets the url.
|
public UrlAppmasterTrackService(java.lang.String url)
url
- the urlpublic java.lang.String getTrackUrl()
AppmasterTrackService
getTrackUrl
in interface AppmasterTrackService
public void setUrl(java.lang.String url)
url
- the url