1package org.apache.archiva.indexer.merger.base;
23/*4 * Licensed to the Apache Software Foundation (ASF) under one5 * or more contributor license agreements. See the NOTICE file6 * distributed with this work for additional information7 * regarding copyright ownership. The ASF licenses this file8 * to you under the Apache License, Version 2.0 (the9 * "License"); you may not use this file except in compliance10 * with the License. You may obtain a copy of the License at11 *12 * http://www.apache.org/licenses/LICENSE-2.013 *14 * Unless required by applicable law or agreed to in writing,15 * software distributed under the License is distributed on an16 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY17 * KIND, either express or implied. See the License for the18 * specific language governing permissions and limitations19 * under the License.20 */2122import org.apache.archiva.indexer.merger.IndexMerger;
23import org.apache.archiva.indexer.merger.IndexMergerRequest;
2425/**26 * @author Olivier Lamy27 * @since 2.0.028 */29publicclassMergedRemoteIndexesTaskRequest30 {
31private IndexMergerRequest indexMergerRequest;
3233private IndexMerger indexMerger;
3435publicMergedRemoteIndexesTaskRequest( IndexMergerRequest indexMergerRequest, IndexMerger indexMerger )
36 {
37this.indexMergerRequest = indexMergerRequest;
38this.indexMerger = indexMerger;
39 }
4041public IndexMergerRequest getIndexMergerRequest()
42 {
43return indexMergerRequest;
44 }
4546publicvoid setIndexMergerRequest( IndexMergerRequest indexMergerRequest )
47 {
48this.indexMergerRequest = indexMergerRequest;
49 }
5051public IndexMerger getIndexMerger()
52 {
53return indexMerger;
54 }
5556publicvoid setIndexMerger( IndexMerger indexMerger )
57 {
58this.indexMerger = indexMerger;
59 }
6061 @Override
62publicboolean equals( Object o )
63 {
64if ( this == o )
65 {
66returntrue;
67 }
68if ( o == null || getClass() != o.getClass() )
69 {
70return false;
71 }
7273MergedRemoteIndexesTaskRequestapache/archiva/indexer/merger/base/MergedRemoteIndexesTaskRequest.html#MergedRemoteIndexesTaskRequest">MergedRemoteIndexesTaskRequest that = (MergedRemoteIndexesTaskRequest) o;
7475return indexMergerRequest.equals( that.indexMergerRequest );
76 }
7778 @Override
79publicint hashCode()
80 {
81return indexMergerRequest.hashCode();
82 }
83 }