You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
news-feed/2.8/src/main/java/org/gcube/portlets/user/newsfeed/server/CustomConfiguration.java

52 lines
1.1 KiB
Java

package org.gcube.portlets.user.newsfeed.server;
/**
* custom class to read propety file once
* @author massi
*
*/
public class CustomConfiguration {
private int refreshTime;
private String vreLabel;
private boolean showTimelineSource;
public CustomConfiguration(int refreshTime, String vreLabel,
boolean showTimelineSource) {
super();
this.refreshTime = refreshTime;
this.vreLabel = vreLabel;
this.showTimelineSource = showTimelineSource;
}
public int getRefreshTime() {
return refreshTime;
}
public void setRefreshTime(int refreshTime) {
this.refreshTime = refreshTime;
}
public String getVreLabel() {
return vreLabel;
}
public void setVreLabel(String vreLabel) {
this.vreLabel = vreLabel;
}
public boolean isShowTimelineSource() {
return showTimelineSource;
}
public void setShowTimelineSource(boolean showTimelineSource) {
this.showTimelineSource = showTimelineSource;
}
@Override
public String toString() {
return "CustomConfiguration [refreshTime=" + refreshTime
+ ", vreLabel=" + vreLabel + ", showTimelineSource="
+ showTimelineSource + "]";
}
}