com.izforge.izpack.util.os
Class FileQueue

java.lang.Object
  extended by com.izforge.izpack.util.os.FileQueue

public class FileQueue
extends Object


Field Summary
protected  WinSetupFileQueue filequeue
           
 
Constructor Summary
FileQueue(Librarian librarian)
          Constructs a FileQueue.
 
Method Summary
 void add(FileQueueOperation op)
          Add a file queue operation.
 void execute()
           
 List<FileQueueOperation> getOperations()
          Returns the file queue operations.
 boolean isEmpty()
          Determines if the queue is empty.
 boolean isRebootNecessary()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

filequeue

protected WinSetupFileQueue filequeue
Constructor Detail

FileQueue

public FileQueue(Librarian librarian)
Constructs a FileQueue.

Parameters:
librarian - the librarian
Method Detail

add

public void add(FileQueueOperation op)
Add a file queue operation.

Parameters:
op - the operation (copy/move/delete)

isEmpty

public boolean isEmpty()
Determines if the queue is empty.

Returns:
true if the queue is empty

execute

public void execute()
             throws IOException
Throws:
IOException

isRebootNecessary

public boolean isRebootNecessary()

getOperations

public List<FileQueueOperation> getOperations()
Returns the file queue operations.

Returns:
the file queue operations


Copyright © 2018. All rights reserved.