Class ProjectWriter
- java.lang.Object
-
- com.inductiveautomation.factorypmi.application.runtime.ProjectWriter
-
- All Implemented Interfaces:
LaunchContext.WritableProject
public class ProjectWriter extends java.lang.Object implements LaunchContext.WritableProject
Simple implementation of LaunchContext.WritableProject. Don't use directly - let ProjectCacheUpdateHelper decide if it is safe to instantiate this class.
-
-
Constructor Summary
Constructors Constructor Description ProjectWriter(RuntimeProject project)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
updateProjectCache(LaunchContext context, RuntimeProject project)
void
write(java.io.OutputStream stream)
-
-
-
Constructor Detail
-
ProjectWriter
public ProjectWriter(RuntimeProject project)
-
-
Method Detail
-
write
public void write(java.io.OutputStream stream) throws java.io.IOException
- Specified by:
write
in interfaceLaunchContext.WritableProject
- Throws:
java.io.IOException
-
updateProjectCache
public static void updateProjectCache(LaunchContext context, RuntimeProject project) throws java.io.IOException
- Throws:
java.io.IOException
-
-