1 23 24 package com.sun.enterprise.admin.server.core; 25 26 import com.sun.enterprise.instance.InstanceEnvironment; 28 29 36 37 public final class ManualChangeStatus { 38 private boolean objectFileChanged = false; 39 private boolean initFileChanged = false; 40 private boolean realmsKeyFileChanged = false; 41 private boolean serverXmlFileChanged = false; 42 private boolean aclFileChanged = false; 43 private boolean mimeFileChanged = false; 44 private boolean virtualServerConfFilesChanged = false; 45 46 public boolean isObjectFileChanged() { 47 return objectFileChanged; 48 } 49 50 public boolean isInitFileChanged() { 51 return initFileChanged; 52 } 53 54 public boolean isRealmsKeyFileChanged() { 55 return realmsKeyFileChanged; 56 } 57 58 public boolean isServerXmlFileChanged() { 59 return serverXmlFileChanged; 60 } 61 62 public boolean isAclFileChanged() { 63 return aclFileChanged; 64 } 65 public boolean isMimeFileChanged() { 66 return mimeFileChanged; 67 } 68 69 public boolean isVirtualServerConfFilesChanged() { 70 return virtualServerConfFilesChanged; 71 } 72 73 public void setObjectFileChanged(boolean value) { 74 objectFileChanged = value; 75 } 76 77 public void setInitFileChanged(boolean value) { 78 initFileChanged = value; 79 } 80 81 public void setRealmsKeyFileChanged(boolean value) { 82 realmsKeyFileChanged = value; 83 } 84 85 public void setServerXmlFileChanged(boolean value) { 86 serverXmlFileChanged = value; 87 } 88 89 public void setAclFileChanged(boolean value) { 90 aclFileChanged = value; 91 } 92 public void setMimeFileChanged(boolean value) { 93 mimeFileChanged = value; 94 } 95 96 public void setVirtualServerConfFilesChanged(boolean value) { 97 virtualServerConfFilesChanged = value; 98 } 99 100 public boolean isChanged() { 101 102 return (isServerXmlFileChanged() || 103 isRealmsKeyFileChanged()); 104 105 } 106 107 public String toString() { 108 109 return "ManualChangeStatus:\n" + 110 "\tserverXmlFileChanged = " + serverXmlFileChanged + "\n" + 111 "\trealmsKeyFileChanged = " + realmsKeyFileChanged + "\n"; 112 113 } 114 115 } 116 | Popular Tags |