Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1154,6 +1154,7 @@ public Options withNpmExcludeWebComponents(boolean exclude) {
* local path.
*
* @return {@code true} if exotic versions are allowed
* @since 25.4
*/
public boolean isNpmAllowExoticVersions() {
return npmAllowExoticVersions;
Expand All @@ -1169,6 +1170,7 @@ public boolean isNpmAllowExoticVersions() {
* @param allow
* whether to allow exotic versions
* @return this builder
* @since 25.4
*/
public Options withNpmAllowExoticVersions(boolean allow) {
this.npmAllowExoticVersions = allow;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1371,6 +1371,7 @@ public VaadinSession getSession() {
*
* @return {@code true} if the related UI is the current UI and its session
* is locked by the current thread, {@code false} otherwise
* @since 25.4
*/
public boolean isCurrentAndLocked() {
return UI.getCurrent() == ui && session != null && session.hasLock();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ public final class BundleUtils {
* The key of the stats.json entry that lists the identifiers of the
* functions the bundle registers for JavaScript definitions, event data and
* event filters.
*
* @since 25.4
*/
public static final String JS_DEFINITION_FUNCTION_IDS_STATS_KEY = "jsDefinitionFunctionIds";

Expand Down Expand Up @@ -213,6 +215,7 @@ public static boolean isPreCompiledProductionBundle() {
* the identifiers of the functions that the class declares,
* asked for only when the class is checked, not
* <code>null</code>
* @since 25.4
*/
public static void checkJsFunctionsBundled(Class<?> declaringType,
Supplier<Collection<String>> functionIds) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -666,6 +666,7 @@ && belongsToGradleBuild(candidate.getParent())) {
* @return the resources folder, or {@code null} if the application does not
* run from the output of a Gradle source set or the folder does not
* exist
* @since 25.4
*/
public static File getGradleResourceFolderFromClasspath() {
try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@
* bundle.
* <p>
* For internal use only. May be renamed or removed in a future release.
*
* @since 25.4
*/
public final class JsStringFallbacks {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
* Utility methods for server push.
* <p>
* For internal use only. May be renamed or removed in a future release.
*
* @since 25.4
*/
public final class PushUtil {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ public static Optional<Method> findDeclaredMethod(Class<?> cls,
* @param type
* the type to get the public methods of, not <code>null</code>
* @return the public methods of the type, not <code>null</code>
* @since 25.4
*/
public static List<Method> getCurrentPublicMethods(Class<?> type) {
List<Method> methods = new ArrayList<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
* that unlocking runs rely on it.
* <p>
* For internal use only. May be renamed or removed in a future release.
*
* @since 25.4
*/
public final class SessionLockScope implements AutoCloseable {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
* a call into a small annotated method instead.
* <p>
* For internal use only. May be renamed or removed in a future release.
*
* @since 25.4
*/
@Retention(RetentionPolicy.CLASS)
@Target({ ElementType.TYPE, ElementType.METHOD, ElementType.CONSTRUCTOR })
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
* @see Element#executeJs(Class)
* @see Page#executeJs(Class)
* @see JsSnippets
* @since 25.4
*/
public interface JsInvokers extends Serializable {
}
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@
* same parameter count, two methods of one interface with the same name and
* parameter count, or a filter or event data value that is a property path,
* which the browser reads without compiling it.
*
* @since 25.4
*/
@Documented
@Retention(RetentionPolicy.RUNTIME)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ public final class Constants implements Serializable {
* The resource that lists the {@code @JsStringFallback} interfaces the
* build found, one class name per entry of a JSON array, relative to
* {@link #VAADIN_SERVLET_RESOURCES}.
*
* @since 25.4
*/
public static final String JS_STRING_FALLBACKS_FILE = Constants.VAADIN_CONFIGURATION
+ "js-string-fallbacks.json";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
* {@link SynchronizedRequestHandler#handleRequest(VaadinSession, VaadinRequest, VaadinResponse)}
* directly can catch this exception and handle the original exception from
* {@link #getCause()}.
*
* @since 25.4
*/
public final class FailedUIRequestException extends RuntimeException {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,8 @@ public class InitParameters implements Serializable {
* Configuration name for allowing npm packages to be declared with an
* exotic version, such as a tarball URL or a git repository, rather than a
* registry version or a local path.
*
* @since 25.4
*/
public static final String NPM_ALLOW_EXOTIC_VERSIONS = "npm.allowExoticVersions";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ public void setFileName(String fileName) {
* the name of the file
* @see #attachment(String)
* @see #inline(String)
* @since 25.4
*/
public void fileName(String fileName) {
if (setName(fileName)) {
Expand Down Expand Up @@ -238,6 +239,7 @@ void fileName(String fileName, boolean inlineByDefault) {
*
* @param fileName
* the name of the saved file
* @since 25.4
*/
public void attachment(String fileName) {
requestedType = ATTACHMENT;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ public DevModeInitializer() {
* @param configuration
* the configuration of the application, not <code>null</code>
* @return the folder, not <code>null</code>
* @since 25.4
*/
public static File getServletResourceOutputDirectory(
AbstractConfiguration configuration) {
Expand Down
Loading