1 package org.apache.archiva.rest.api.model.v2.repository;/*
2 * Licensed to the Apache Software Foundation (ASF) under one
3 * or more contributor license agreements. See the NOTICE file
4 * distributed with this work for additional information
5 * regarding copyright ownership. The ASF licenses this file
6 * to you under the Apache License, Version 2.0 (the
7 * "License"); you may not use this file except in compliance
8 * with the License. You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing,
12 * software distributed under the License is distributed on an
13 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 * KIND, either express or implied. See the License for the
15 * specific language governing permissions and limitations
20 * Licensed to the Apache Software Foundation (ASF) under one
21 * or more contributor license agreements. See the NOTICE file
22 * distributed with this work for additional information
23 * regarding copyright ownership. The ASF licenses this file
24 * to you under the Apache License, Version 2.0 (the
25 * "License"); you may not use this file except in compliance
26 * with the License. You may obtain a copy of the License at
28 * http://www.apache.org/licenses/LICENSE-2.0
29 * Unless required by applicable law or agreed to in writing,
30 * software distributed under the License is distributed on an
31 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
32 * KIND, either express or implied. See the License for the
33 * specific language governing permissions and limitations
37 import io.swagger.v3.oas.annotations.media.Schema;
42 * @author Martin Stockhammer <martin_s@apache.org>
44 @Schema(name="RemoteIndexInfo",description = "Information about remote indexes")
45 public class RemoteIndexInfo
47 private boolean downloadRemoteIndex = false;
48 private String indexUri;
50 @Schema(name="download_remote_index",description = "True, if the index will be downloaded from the remote repository")
51 public boolean isDownloadRemoteIndex( )
53 return downloadRemoteIndex;
56 public void setDownloadRemoteIndex( boolean downloadRemoteIndex )
58 this.downloadRemoteIndex = downloadRemoteIndex;
61 @Schema(name="index_uri", description = "The URI that specifies the path to the remote index")
62 public String getIndexUri( )
67 public void setIndexUri( String indexUri )
69 this.indexUri = indexUri;