Class DevJavaScriptResourceReference
java.lang.Object
org.apache.wicket.request.resource.ResourceReference
com.inductiveautomation.ignition.gateway.web.util.DevJavaScriptResourceReference
- All Implemented Interfaces:
- Serializable,- org.apache.wicket.util.io.IClusterable
public class DevJavaScriptResourceReference
extends org.apache.wicket.request.resource.ResourceReference
Special version of javascript resource reference that understands how to look up javascript files
 where they will be during development. Requires flag -Dignition.devjsloadpath=<path to IDE repo>
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.wicket.request.resource.ResourceReferenceorg.apache.wicket.request.resource.ResourceReference.Key, org.apache.wicket.request.resource.ResourceReference.UrlAttributes
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.apache.wicket.request.resource.ResourceReferencecanBeRegistered, equals, getDependencies, getExtension, getKey, getLocale, getName, getScope, getStyle, getUrlAttributes, getVariation, hashCode, toString
- 
Constructor Details- 
DevJavaScriptResourceReference
- 
DevJavaScriptResourceReference- Parameters:
- scope- The class that the js file is near
- modulePath- The module path of where the class is located. Examples: "Platform/gateway-api" or "Modules/reporting/reporting-gateway"
- name- The path to the js file, relative to where the class is
 
 
- 
- 
Method Details- 
getResourcepublic org.apache.wicket.request.resource.IResource getResource()- Specified by:
- getResourcein class- org.apache.wicket.request.resource.ResourceReference
 
 
-