예제 #1
0
 protected long getTimeDiffValue() {
   long l = 0L;
   EmsTimeDiffProperty p = (EmsTimeDiffProperty) getPropertyObject("_emsTimeDiff");
   if (p != null) {
     l = p.getEmsTimeDiff(this);
   }
   return l;
 }
예제 #2
0
 static {
   m_EmsTimeDiff = new EmsTimeDiffProperty("", "0");
   pIsErrorInStart = new BooleanProperty("isErrorInStart", "false");
   m_EmsTimeDiff.setParameterOptions(true, 100, true);
   StringProperty myProperties[] = {m_EmsTimeDiff, pIsErrorInStart};
   String fullClassName = (COM.dragonflow.SiteView.EMSLogMonitorBase.class).getName();
   PropertiedObject.addProperties(fullClassName, myProperties);
 }
예제 #3
0
 public String verify(StringProperty property, String value, HTTPRequest request, HashMap errors) {
   if (property == m_EmsTimeDiff) {
     return m_EmsTimeDiff == null ? "0" : m_EmsTimeDiff.verify(property, value, request, errors);
   }
   if (property != null && property.getName().equals("_emsConfigFilePath")) {
     return ((EmsConfigFileProperty) property).verifyConfigFile(this, value, errors);
   } else {
     return super.verify(property, value, request, errors);
   }
 }
예제 #4
0
 public long getEmsTimeDiff() {
   return m_EmsTimeDiff == null ? 0L : m_EmsTimeDiff.getEmsTimeDiff(this);
 }