release version 1.10.0
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<groupId>ru.entaxy.esb.platform.runtime.base</groupId>
|
||||
<artifactId>resources</artifactId>
|
||||
<version>1.9.0</version>
|
||||
<version>1.10.0</version>
|
||||
</parent>
|
||||
<groupId>ru.entaxy.esb.platform.runtime.base.resources</groupId>
|
||||
<artifactId>resources-api</artifactId>
|
||||
|
@ -2,7 +2,7 @@
|
||||
* ~~~~~~licensing~~~~~~
|
||||
* resources-api
|
||||
* ==========
|
||||
* Copyright (C) 2020 - 2023 EmDev LLC
|
||||
* Copyright (C) 2020 - 2024 EmDev LLC
|
||||
* ==========
|
||||
* You may not use this file except in accordance with the License Terms of the Copyright
|
||||
* Holder located at: https://entaxy.ru/eula . All copyrights, all intellectual property
|
||||
@ -30,40 +30,48 @@ import java.net.URL;
|
||||
|
||||
public interface EntaxyResource {
|
||||
|
||||
public enum RESOURCE_SCOPE {
|
||||
DESIGN,
|
||||
RUNTIME
|
||||
}
|
||||
|
||||
public interface ATTRIBUTES {
|
||||
String TIMESTAMP = "timestamp";
|
||||
String SCOPE = "scope";
|
||||
}
|
||||
public enum RESOURCE_SCOPE {
|
||||
DESIGN,
|
||||
RUNTIME
|
||||
}
|
||||
|
||||
public interface ATTRIBUTES {
|
||||
String TIMESTAMP = "timestamp";
|
||||
String SCOPE = "scope";
|
||||
}
|
||||
|
||||
RESOURCE_SCOPE DEFAULT_SCOPE = RESOURCE_SCOPE.RUNTIME;
|
||||
String DEFAULT_TIMESTAMP = "0";
|
||||
|
||||
InputStream getInputStream();
|
||||
|
||||
String getAsString();
|
||||
|
||||
void save(InputStream inputStream);
|
||||
|
||||
void delete();
|
||||
|
||||
boolean exists();
|
||||
|
||||
boolean isFolder();
|
||||
|
||||
String getName();
|
||||
|
||||
long getSize();
|
||||
|
||||
@Deprecated(forRemoval = true, since = "1.9")
|
||||
URL getLocation();
|
||||
|
||||
String getURL();
|
||||
|
||||
String getTimestamp();
|
||||
|
||||
RESOURCE_SCOPE getScope();
|
||||
|
||||
boolean hasMetadata();
|
||||
|
||||
EntaxyResourceMetadata getMetadata();
|
||||
|
||||
EntaxyResourceMetadata getMetadata(boolean create);
|
||||
|
||||
RESOURCE_SCOPE DEFAULT_SCOPE = RESOURCE_SCOPE.RUNTIME;
|
||||
String DEFAULT_TIMESTAMP = "0";
|
||||
|
||||
InputStream getInputStream();
|
||||
String getAsString();
|
||||
|
||||
void save(InputStream inputStream);
|
||||
|
||||
boolean exists();
|
||||
|
||||
boolean isFolder();
|
||||
String getName();
|
||||
long getSize();
|
||||
|
||||
@Deprecated (forRemoval = true, since = "1.9")
|
||||
URL getLocation();
|
||||
|
||||
String getURL();
|
||||
|
||||
String getTimestamp();
|
||||
RESOURCE_SCOPE getScope();
|
||||
|
||||
boolean hasMetadata();
|
||||
EntaxyResourceMetadata getMetadata();
|
||||
EntaxyResourceMetadata getMetadata(boolean create);
|
||||
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
* ~~~~~~licensing~~~~~~
|
||||
* resources-api
|
||||
* ==========
|
||||
* Copyright (C) 2020 - 2023 EmDev LLC
|
||||
* Copyright (C) 2020 - 2024 EmDev LLC
|
||||
* ==========
|
||||
* You may not use this file except in accordance with the License Terms of the Copyright
|
||||
* Holder located at: https://entaxy.ru/eula . All copyrights, all intellectual property
|
||||
|
@ -2,7 +2,7 @@
|
||||
* ~~~~~~licensing~~~~~~
|
||||
* resources-api
|
||||
* ==========
|
||||
* Copyright (C) 2020 - 2023 EmDev LLC
|
||||
* Copyright (C) 2020 - 2024 EmDev LLC
|
||||
* ==========
|
||||
* You may not use this file except in accordance with the License Terms of the Copyright
|
||||
* Holder located at: https://entaxy.ru/eula . All copyrights, all intellectual property
|
||||
|
@ -2,7 +2,7 @@
|
||||
* ~~~~~~licensing~~~~~~
|
||||
* resources-api
|
||||
* ==========
|
||||
* Copyright (C) 2020 - 2023 EmDev LLC
|
||||
* Copyright (C) 2020 - 2024 EmDev LLC
|
||||
* ==========
|
||||
* You may not use this file except in accordance with the License Terms of the Copyright
|
||||
* Holder located at: https://entaxy.ru/eula . All copyrights, all intellectual property
|
||||
|
@ -2,7 +2,7 @@
|
||||
* ~~~~~~licensing~~~~~~
|
||||
* resources-api
|
||||
* ==========
|
||||
* Copyright (C) 2020 - 2023 EmDev LLC
|
||||
* Copyright (C) 2020 - 2024 EmDev LLC
|
||||
* ==========
|
||||
* You may not use this file except in accordance with the License Terms of the Copyright
|
||||
* Holder located at: https://entaxy.ru/eula . All copyrights, all intellectual property
|
||||
|
@ -2,7 +2,7 @@
|
||||
* ~~~~~~licensing~~~~~~
|
||||
* resources-api
|
||||
* ==========
|
||||
* Copyright (C) 2020 - 2023 EmDev LLC
|
||||
* Copyright (C) 2020 - 2024 EmDev LLC
|
||||
* ==========
|
||||
* You may not use this file except in accordance with the License Terms of the Copyright
|
||||
* Holder located at: https://entaxy.ru/eula . All copyrights, all intellectual property
|
||||
|
Reference in New Issue
Block a user