Package aQute.bnd.build
Class ProjectLauncher.LiveCoding
- java.lang.Object
-
- aQute.bnd.build.ProjectLauncher.LiveCoding
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
- Enclosing class:
- ProjectLauncher
public class ProjectLauncher.LiveCoding extends java.lang.Object implements java.io.Closeable
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.concurrent.Executorexecutorprivate FileWatcherfwprivate java.util.concurrent.atomic.AtomicBooleanpropertiesChangedprivate java.util.concurrent.ScheduledExecutorServicescheduledExecutorprivate java.util.concurrent.Semaphoresemaphore
-
Constructor Summary
Constructors Constructor Description LiveCoding(java.util.concurrent.Executor executor, java.util.concurrent.ScheduledExecutorService scheduledExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidchanged(java.io.File file, java.lang.String kind)voidclose()private voidwatch()
-
-
-
Field Detail
-
semaphore
private final java.util.concurrent.Semaphore semaphore
-
propertiesChanged
private final java.util.concurrent.atomic.AtomicBoolean propertiesChanged
-
executor
private final java.util.concurrent.Executor executor
-
scheduledExecutor
private final java.util.concurrent.ScheduledExecutorService scheduledExecutor
-
fw
private volatile FileWatcher fw
-
-
Method Detail
-
close
public void close()
- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable
-
watch
private void watch() throws java.io.IOException- Throws:
java.io.IOException
-
changed
private void changed(java.io.File file, java.lang.String kind)
-
-