com.im.ijc.core/1 5.9.4

com.im.ijc.core.api.url
Interface URLProperties


public interface URLProperties

Represent a URL


Method Summary
 String getBaseURL()
          Get base url, the base URL is either url to configuration file (http,https and file protocol is supported) or folder to root of project on local system (file protocol is supported)
 Lookup getLookup()
          lookup with already initialized objects
 Map<String,String> getProperties()
          Construct new instance of java.util.Properties
 String getProperty(StandardProperty name)
           
 String getProperty(String name)
           
 Node[] getSelectedNodes()
          Get selected nodes before the Create URL action is invoked.
 boolean isShared()
           
 void setBaseURL(String url)
          Set base url, the base URL is either url to configuration file (http,https and file protocol is supported) or folder to root of project on local system (file protocol is supported)
 boolean setDFItem(DFItem item)
          Initialize properties from DFItem
 void setProperty(StandardProperty propertyName, String value)
           
 void setProperty(String name, String value)
           
 void setURLAction(URLTask action)
          set action to URL
 String toExternalForm()
          get url in textual form
 

Method Detail

getProperty

String getProperty(StandardProperty name)

getProperty

String getProperty(String name)

setProperty

void setProperty(StandardProperty propertyName,
                 String value)

setProperty

void setProperty(String name,
                 String value)

setURLAction

void setURLAction(URLTask action)
set action to URL


setBaseURL

void setBaseURL(String url)
Set base url, the base URL is either url to configuration file (http,https and file protocol is supported) or folder to root of project on local system (file protocol is supported)


getBaseURL

String getBaseURL()
Get base url, the base URL is either url to configuration file (http,https and file protocol is supported) or folder to root of project on local system (file protocol is supported)

Returns:
Null if url was not initialed (set)

setDFItem

boolean setDFItem(DFItem item)
Initialize properties from DFItem

Parameters:
item - The i nput DFItem
Returns:
False if the DFItem type is not supported

getProperties

Map<String,String> getProperties()
Construct new instance of java.util.Properties

Returns:
The new properties

toExternalForm

String toExternalForm()
get url in textual form

Returns:
Null if getBaseURL() is null

getLookup

Lookup getLookup()
lookup with already initialized objects


getSelectedNodes

Node[] getSelectedNodes()
Get selected nodes before the Create URL action is invoked.


isShared

boolean isShared()
Returns:
False if project is not part of shared configuration

com.im.ijc.core/1 5.9.4