Package com.atlassian.adf.model.node
Class Media.Partial.ExternalNeedsUrl
- java.lang.Object
-
- com.atlassian.adf.model.node.Media.Partial.ExternalNeedsUrl
-
- Enclosing interface:
- Media.Partial
public static class Media.Partial.ExternalNeedsUrl extends Object
-
-
Constructor Summary
Constructors Constructor Description ExternalNeedsUrl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Media.ExternalMediaurl(String url)Sets the URI on this partially constructed media node, after which it is fully constructed as a valid media node.Media.ExternalMediaurl(URI url)Sets the URI on this partially constructed media node, after which it is fully constructed as a valid media node.Media.ExternalMediaurl(URL url)Sets the URI on this partially constructed media node, after which it is fully constructed as a valid media node.
-
-
-
Method Detail
-
url
public Media.ExternalMedia url(String url)
Sets the URI on this partially constructed media node, after which it is fully constructed as a valid media node.- Parameters:
url- the target URI for the external media- Returns:
- the resulting fully constructed media node
- Throws:
AdfException.InvalidURI- ifurlis not a valid URI
-
url
public Media.ExternalMedia url(URL url)
Sets the URI on this partially constructed media node, after which it is fully constructed as a valid media node.- Parameters:
url- the target URI for the external media- Returns:
- the resulting fully constructed media node
- Throws:
AdfException.InvalidURI- ifurlis not a valid URI
-
url
public Media.ExternalMedia url(URI url)
Sets the URI on this partially constructed media node, after which it is fully constructed as a valid media node.- Parameters:
url- the target URI for the external media- Returns:
- the resulting fully constructed media node
-
-