X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=runtime%2Forg.argeo.slc.support.simple%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fdiff%2FDiffResult.java;h=485b7712edc8e18b4a21033fe19967ed42aa6ae5;hb=9006d6fe7ecafaad851ecf223a3e0288e36fd7d4;hp=0e29fdd05abd5681f625f8139abde03a7454e868;hpb=19a9d8d57baf647f8a1a9aac3d9cb55c86dccbcc;p=gpl%2Fargeo-slc.git diff --git a/runtime/org.argeo.slc.support.simple/src/main/java/org/argeo/slc/diff/DiffResult.java b/runtime/org.argeo.slc.support.simple/src/main/java/org/argeo/slc/diff/DiffResult.java index 0e29fdd05..485b7712e 100644 --- a/runtime/org.argeo.slc.support.simple/src/main/java/org/argeo/slc/diff/DiffResult.java +++ b/runtime/org.argeo.slc.support.simple/src/main/java/org/argeo/slc/diff/DiffResult.java @@ -1,12 +1,31 @@ +/* + * Copyright (C) 2007-2012 Mathieu Baudier + * + * Licensed 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. + */ package org.argeo.slc.diff; import java.util.List; +import java.util.Map; /** * The result of a diff. Can be subclassed to provided more structured * information. */ public interface DiffResult { + /** Summary information, alphabetically ordered key/value pairs */ + public Map getSummary(); + /** The list of issues, a zero size meaning that the diff succeeded. */ public List getIssues(); }