package jvmmonitor.model;

/*
*  Copyright (c) ${date}, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
*  WSO2 Inc. licenses this file to you under the Apache License,
*  Version 2.0 (the "License"); you may not use this file except
*  in compliance with the License.
*  You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied.  See the License for the
* specific language governing permissions and limitations
* under the License.
*/
public class UsageMonitorLog {


    private MemoryUsageLog memoryUsageLog;
    private GarbageCollectionLog garbageCollectionLog;


    public UsageMonitorLog(MemoryUsageLog memoryLog, GarbageCollectionLog garbageCollectionLog) {
        this.memoryUsageLog = memoryLog;
        this.garbageCollectionLog = garbageCollectionLog;
    }

    public MemoryUsageLog getMemoryUsageLog() {
        return memoryUsageLog;
    }

    public void setMemoryUsageLog(MemoryUsageLog memoryUsageLog) {
        this.memoryUsageLog = memoryUsageLog;
    }

    public GarbageCollectionLog getGarbageCollectionLog() {
        return garbageCollectionLog;
    }

    public void setGarbageCollectionLog(GarbageCollectionLog garbageCollectionLog) {
        this.garbageCollectionLog = garbageCollectionLog;
    }
}

@@ -20,16 +20,40 @@
 model;%0A%0A
+import java.util.List;%0A%0A
 /*%0A*  Co
@@ -798,16 +798,21 @@
 private 
+List%3C
 GarbageC
@@ -815,32 +815,33 @@
 ageCollectionLog
+%3E
  garbageCollecti
@@ -902,16 +902,21 @@
 oryLog, 
+List%3C
 GarbageC
@@ -919,32 +919,33 @@
 ageCollectionLog
+%3E
  garbageCollecti
@@ -1276,16 +1276,21 @@
  public 
+List%3C
 GarbageC
@@ -1301,16 +1301,17 @@
 ctionLog
+%3E
  getGarb
@@ -1415,16 +1415,21 @@
 tionLog(
+List%3C
 GarbageC
@@ -1440,16 +1440,17 @@
 ctionLog
+%3E
  garbage

change parameter type to Collection