1 6 7 package com.sun.enterprise.config.backup.status; 8 9 import com.sun.enterprise.config.backup.pluggable.EnvironmentFactory; 10 import com.sun.enterprise.config.backup.BackupException; 11 12 16 public class RemoveStatus extends Status { 17 18 private String _removedBackupFileName; 19 20 private boolean _isSystemRemoved=true; 22 23 24 public RemoveStatus() throws BackupException { 25 super(true); 26 } 27 public RemoveStatus(String file, boolean system) throws BackupException { 28 super(true); 29 _removedBackupFileName = file; 30 _isSystemRemoved = system; 31 } 32 33 public String getOperation() { 34 return "RemoveStatus"; 35 } 36 41 42 public String thisToString() { 43 return "Removed FileName " + _removedBackupFileName + 44 ", Removed by " + (_isSystemRemoved?"system":"user"); 45 } 46 } 47 | Popular Tags |