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.Executor
executor
private FileWatcher
fw
private java.util.concurrent.atomic.AtomicBoolean
propertiesChanged
private java.util.concurrent.ScheduledExecutorService
scheduledExecutor
private java.util.concurrent.Semaphore
semaphore
-
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 void
changed(java.io.File file, java.lang.String kind)
void
close()
private void
watch()
-
-
-
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:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in 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)
-
-