@Override public String toString() { return String.format( "%s[name=%s, type=%s, version=%s, viewPath=%s, appClass=%s, configuration= %s properties]", getClass().getSimpleName(), applicationDesc.getName(), applicationDesc.getType(), applicationDesc.getVersion(), applicationDesc.getViewPath(), applicationDesc.getAppClass(), applicationDesc.getConfiguration() == null ? 0 : applicationDesc.getConfiguration().size() ); }
Preconditions.checkNotNull(applicationDesc.getName(), "name is null in " + applicationDesc); if (applicationDesc.getViewPath() != null) { if (viewPathAppDesc.containsKey(applicationDesc.getViewPath())) { throw new IllegalStateException("Duplicated view " + applicationDesc.getViewPath() + " defined in " + viewPathAppDesc.get(applicationDesc.getViewPath()).getType() + " and " + applicationDesc.getType()); } else { viewPathAppDesc.put(applicationDesc.getViewPath(), applicationDesc);
@Override public String toString() { return String.format("ApplicationDesc [type=%s, name=%s, version=%s, appClass=%s, viewPath=%s, jarpath=%s, providerClass=%s, configuration= %s properties, description=%s", getType(), getName(), getVersion(), getAppClass(), getViewPath(), getJarPath(), getProviderClass(), getConfiguration() == null ? 0 : getConfiguration().size(), getDescription()); }